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

Increase URL length limit #441

Closed

Conversation

skrimix
Copy link

@skrimix skrimix commented Jul 1, 2024

Current limit is too aggressive and truncates e.g. CloudFront signed URLs.

As per RFC 9110:

It is RECOMMENDED that all senders and recipients support, at a minimum, URIs with lengths of 8000 octets in protocol elements. Note that this implies some structures and on-wire representations (for example, the request line in HTTP/1.1) will necessarily be larger in some cases.

Fixes #440, closes #407

@ismaell
Copy link
Member

ismaell commented Jul 3, 2024

  1. Please use a proper email address.
  2. Don't touch MAX_STRING.
  3. Avoid allocating large stuff in the stack, it's bad enough as it is now (that's why touching MAX_STRING isn't a good idea).

@ismaell ismaell closed this Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

http 302 redirect not handle properly
2 participants