Skip to content

Conversation

@NikolayStarodubtsev
Copy link
Contributor

Previously url variable has strictly provided "https" protocol,
which totally broke feed if "https" was provided in endpoint variable.
Add new function based on regex to handle both types with or
without protocol.

Nikolai Starodubtcev added 2 commits June 18, 2020 10:46
Previously url variable has strictly provided "https" protocol,
which totally broke feed if "https" was provided in endpoint variable.
Add new function based on regex to handle both types with or
without protocol.
@rabbah
Copy link
Member

rabbah commented Jun 18, 2020

Thanks @NikolayStarodubtsev for the contribution. I left some comments and suggestions.

* Drop ftp support in regex
* Rename massagedAPIHost to apiHost
Remove unnecessary extension.
@rabbah rabbah self-assigned this Jun 19, 2020
@rabbah rabbah merged commit d1ce6d4 into apache:master Jun 19, 2020
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.

2 participants