Describe the bug
Static assets referenced by encoded URLs are not served.
Reproduction
- Create a file
/public/Hello World.css on your disk
- Run Vite
- Try to download
/Hello%20World.css or /Hello+World.css
- You get a 404 response
Source of the issue is related to sirv, see
lukeed/sirv#82
System Info
vite version: 2.0.0-beta.12
- Operating System: Win 10
- Node version: 15.5.1
- Package manager (npm/yarn/pnpm) and version: npm 7.3.0