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

";" in header value #14

Closed
iapyeh opened this issue Dec 1, 2019 · 0 comments
Closed

";" in header value #14

iapyeh opened this issue Dec 1, 2019 · 0 comments

Comments

@iapyeh
Copy link

iapyeh commented Dec 1, 2019

If there are two or more cookie value in "Cookie", their delimiter is ";".
"Accept-Language", "User-Agent" might contains ";" too.
So, when there are multiple headers in -H, these headers raise a panic error.
Example headers are:
`
Cookie: _ga=GA1.1.1691826; io=wSaVgyAsiDtAAAd; sbs=kQzmcq4t;

Accept-Language: zh-TW,zh;q=0.9,en-US;q=0.8,en;q=0.7,zh-CN;q=0.6,fr;q=0.5,ja;q=0.4

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) Safari/537.36
`

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

No branches or pull requests

2 participants