You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a file url has certain symbols like number sign (#), it doesn't encode them, which makes the browser fail to navigate to the file, thinking it is a document section. This commit fixes that by encoding urls using the built-in encodeURIComponent function.
Fixesvercel#120, vercel#205, vercel/serve#726, and vercel/serve#774
Description
consider the follwing directory structure
and the following config
requesting
http://localhost:3000/file.name
will produce a 404 since dir listings are disabled and it does not search forfile.name.html
Library version
14.0.1
Node version
16.13.1
The text was updated successfully, but these errors were encountered: