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.