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

Fixes Cookie Case Sensitivity #7112

Merged
merged 4 commits into from
Aug 16, 2022
Merged

Fixes Cookie Case Sensitivity #7112

merged 4 commits into from
Aug 16, 2022

Conversation

SuGlider
Copy link
Collaborator

Description of Change

Cookie Names and Value are case sensitive, but attibutes such as "Expires", "Max-Age", "Domain", "Path", "Secure", "HttpOnly" must be case insensitively matched. This PR fixes it in HTTPClient::setCookie(String date, String headerValue) function.

Tests scenarios

ESP32

Related links

Fixes #7076

@SuGlider SuGlider added this to the 2.0.5 milestone Aug 10, 2022
@SuGlider SuGlider self-assigned this Aug 10, 2022
@SuGlider SuGlider mentioned this pull request Aug 10, 2022
1 task
@SuGlider SuGlider added the Area: BT&Wifi BT & Wifi related issues label Aug 10, 2022
fvaryu added a commit to fvaryu/arduino-esp32 that referenced this pull request Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: BT&Wifi BT & Wifi related issues
Projects
Development

Successfully merging this pull request may close these issues.

HttpClient.cpp#setCookie()
3 participants