-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Empty cookie names throw a ValidationException #2242
Comments
Can you start by providing the stacktrace? And can you log your input parameters and provide those for the case where you see the exception? |
The stacktrace is: org.jsoup.helper.ValidationException: The 'name' parameter must not be empty. [JH- snipped 130 lines] |
Calling with something like
Target in this case is https://shs.cairn.info/journal-a-contrario?lang=fr The error is being thrown at response.parse() |
Thanks -- fixed. I wasn't able to directly repro on that URL as it was not sending un-named cookies when I tried, but that would be the cause. I added the missing empty name check that was used in previous versions of jsoup. |
Perfect! The most recent snapshot fixes the issue here. Thanks for your great work! |
Great, thanks for confirming |
I do see org.jsoup.helper.ValidationException: The 'name' parameter must not be empty since 1.18.2.
I also tried a fresh build from master which includes ed23a9a with no success.
I cannot nail it down to a certain condition, but it happens on response.parse() after using Jsoup.connect.
The text was updated successfully, but these errors were encountered: