Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static middleware does not handle http parameters #243

Open
Chimrod opened this issue Dec 5, 2020 · 0 comments
Open

static middleware does not handle http parameters #243

Chimrod opened this issue Dec 5, 2020 · 0 comments
Labels

Comments

@Chimrod
Copy link

Chimrod commented Dec 5, 2020

After migrating my project to the new update (you did a great job, and I like the new organization for the library), I notice that the middleware static_unix return a 404 error on requests with a parameter. For exemple:

http://localhost:3000/favicon.ico works, but
http://localhost:3000/favicon.ico?test does not.

In a real exemple, this block the usage of font-awesome as the css declare the url with parameters:

@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
  src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
  …
}
@tmattio tmattio added the bug label Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants