Files
caddy/modules
Kévin Dunglas fcfdef43c5 fileserver: apply slash rules to fallback entry (#8387)
* fileserver: apply slash rules to fallback entry

The literal candidate built for the final entry of first_exist_fallback cleaned the path without the rules of #8326 and #8352. With "{path}" as that entry, "/.env/" and "/.env/./" matched the regular file "/.env", bypassing path matchers that see the trailing slash.

Both candidate builders now share the same cleaning and splitting.

* fileserver: handle Windows separators in file matcher
2026-11-09 08:22:45 +10:00
..