A discrepancy exists between the router and the static file handler regarding URL path decoding. The router matches routes using the raw encoded path, preserving `%2F` as-is, whereas the `StaticDirectoryHandler` function unescapes `%2F` to `/` before resolving filesystem paths. This inconsistency allows an attacker to bypass route-level access controls to read static files without authorization.