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

Only escape source_uri if it cant be parsed #788

Merged
merged 1 commit into from Jan 15, 2014

Conversation

punkle
Copy link
Contributor

@punkle punkle commented Jan 15, 2014

Escaping the provided source_uri string was causing urls which already contain escaped characters to be escaped again. In particular it causes percentage characters to be encoded despite them being the escape character.

- Escaping the provided source_uri string was causing urls which
  already contain escaped characters to be escaped again. In particular
  it causes percentage characters to be encoded despite them being
  the escape character.
drbrain added a commit that referenced this pull request Jan 15, 2014
Only escape source_uri if it cant be parsed
@drbrain drbrain merged commit 7c297a3 into rubygems:master Jan 15, 2014
drbrain added a commit that referenced this pull request Jan 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants