Review 14.3 Merged

94424[SECURITY] Fix path prefix confusion in isAllowedAbsPath

Oliver Hader CR +2 V +2 Normal +58 −2 updated 06/09/26, 09:01

Commit message

A path like `/var/www/html-other/file.yaml` was incorrectly
accepted as allowed when the project root was `/var/www/html`,
because the prefix check lacked a directory separator boundary.

This allowed references to files outside the project root whenever
an adjacent directory shared the project path as a string prefix.

Review

  • Code review CR +2 Done
    • Oliver Hader +2
  • Verified V +2 Done
    • Oliver Hader +2

Issues 1

Files 4

Review log 3

  1. Oliver Hader uploaded patch set 1 06/09/26, 09:01

  2. Oliver Hader commented on patch set 1 CR +2 V +2 06/09/26, 09:01

    Auto-approved
  3. Oliver Hader merged patch set 2 06/09/26, 09:01