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

KNOX-3054 - Replace ignored meta tag cache headers to HTTP headers #928

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

hanicz
Copy link
Contributor

@hanicz hanicz commented Aug 1, 2024

What changes were proposed in this pull request?

Modern browsers ignore caching headers as meta elements. Due to this Firefox loads index.html from cache and the user won't be redirected to the Knox login page when there is no Cookie present and the user can't use the homepage.

How was this patch tested?

Added new tests.
Manually tested by loading the home page and checking for the new headers in the HTTP response.

Please review Knox Contributing Process before opening a pull request.

@pzampino pzampino merged commit eaa8119 into apache:master Aug 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants