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

Don't limit browser_session.user_agent to 4096 chars #244

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

Al2Klimov
Copy link
Member

@Al2Klimov Al2Klimov requested a review from ncosta-ic July 22, 2024 13:36
@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Jul 22, 2024
@julianbrost
Copy link
Collaborator

This isn't necessary anymore

IMHO that doesn't mean that this has to be removed. Having a reasonable limit still sounds like a good idea to me to prevent the database from filling up with too much garbage. Removing the hard-coded limit in the schema just means that Icinga Notifications Web is now able to more freely adjust that limit.

@Al2Klimov
Copy link
Member Author

Theoretically a UA could be 7.9KB, given that Apache 2 allows 8KB headers.

@nilmerg nilmerg merged commit f64d7bc into main Jul 23, 2024
22 checks passed
@nilmerg nilmerg deleted the browser_session-user_agent-4k branch July 23, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla/signed CLA is signed by all contributors of a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants