Change protocol detection so uppercase or lowercase works by idolpx · Pull Request #8137 · esp8266/Arduino · GitHub
Skip to content

Change protocol detection so uppercase or lowercase works#8137

Merged
earlephilhower merged 3 commits into
esp8266:masterfrom
idolpx:master
Jun 17, 2021
Merged

Change protocol detection so uppercase or lowercase works#8137
earlephilhower merged 3 commits into
esp8266:masterfrom
idolpx:master

Conversation

@idolpx

@idolpx idolpx commented Jun 17, 2021

Copy link
Copy Markdown
Contributor

Sometimes a url is specified in all upper case and HTTPClient rejects it when it would be perfectly fine. This just makes the protocol detection case insensitive so the url is accepted if the protocol is uppercase.

idolpx added 2 commits June 17, 2021 15:08
Make protocol detection case insensitive
Make protocol detection case insensitive

@earlephilhower earlephilhower left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@earlephilhower earlephilhower merged commit 1a5ef71 into esp8266:master Jun 17, 2021
@earlephilhower earlephilhower added this to the 3.0.1 milestone Jun 17, 2021
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

Successfully merging this pull request may close these issues.

3 participants