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

Accessing page with unsupported file extension (jpg, pdf, xsl) will use wrong mime type #3031

Closed
mahagr opened this issue Oct 8, 2020 · 0 comments
Assignees

Comments

@mahagr
Copy link
Member

mahagr commented Oct 8, 2020

If you try to access for a page with an unsupported file extension, for example, login page with /login.jpg or /login.pdf browser will complain about a bad file. This is because of the page will set mime type always based on the file extension, even if the page is being rendered in html.

@mahagr mahagr added the bug label Oct 8, 2020
@mahagr mahagr self-assigned this Oct 8, 2020
@mahagr mahagr added the 1.7 label Oct 8, 2020
mahagr added a commit that referenced this issue Oct 8, 2020
@mahagr mahagr added the fixed label Oct 8, 2020
@mahagr mahagr closed this as completed Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant