Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. Fixes vercel#120, vercel#205, vercel/serve#726, and vercel/serve#774
- Loading branch information