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

docs: document the 8MB input string limit #6191

Closed
wants to merge 1 commit into from

Conversation

bagder
Copy link
Member

@bagder bagder commented Nov 9, 2020

for curl_easy_escape and curl_easy_setopt()

The limit is there to catch mistakes and abuse. It is meant to be large
enough to allow virtually all "fine" use cases.

Reported-by: Marc Schlatter
Fixes #6190

for curl_easy_escape and curl_easy_setopt()

The limit is there to catch mistakes and abuse. It is meant to be large
enough to allow virtually all "fine" use cases.

Reported-by: Marc Schlatter
Fixes #6190
@Neurones67
Copy link
Contributor

Technically, it's not the input stream that is limited to 8MB, but the result string.

I suppose that the worst case scenario is that the result string is 3x longer than the input string.

@bagder
Copy link
Member Author

bagder commented Nov 9, 2020

oh right! I think maybe we should consider that a bug...

@bagder
Copy link
Member Author

bagder commented Nov 9, 2020

I filed #6192 separately, fixing that issue.

@Neurones67
Copy link
Contributor

That's fine, thank you!

@bagder bagder closed this in 8b151cb Nov 9, 2020
@bagder bagder deleted the bagder/docs-string-limit branch November 9, 2020 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

curl_easy_escape is limited to 8MB of urlencoded data
2 participants