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

bugfix: generate rfc 3986 compliant urls #90

Merged
merged 1 commit into from Oct 10, 2019
Merged

bugfix: generate rfc 3986 compliant urls #90

merged 1 commit into from Oct 10, 2019

Conversation

tpetry
Copy link
Contributor

@tpetry tpetry commented Sep 28, 2018

Generating an uri with whitespaces or any other characters besides alphanumeric characters or "-_.~" will not be RFC 3986 compliant. They will work in most browsers because they are automatically encoded but may fail when passed to other software modules which are not doing automatic encoding.

This pull request will change url generation slightly that they are still pointing to the same destination but all url special characters are encoded for software that does not do the encoding by itself.

@koenvdheuvel
Copy link

This implementation looks good to me.

@nicja could you take a look at this? PR has been open for over a year.

Much appreciated.

@nicja nicja merged commit 173093d into Superbalist:master Oct 10, 2019
@tpetry tpetry deleted the bugfix-rfc3986-urls branch December 24, 2020 12:43
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.

None yet

3 participants