Replace only the scheme part of the URL. #4

Merged
merged 1 commit into from Apr 30, 2012

Projects

None yet

2 participants

@nvie
Contributor
nvie commented Apr 30, 2012

This prevents accidental rewrites of any HTTP URLs in query string
parameters, like for example:

http://localhost/translate?src=http://non-secure-site.org/
@nvie nvie Replace only the scheme part of the URL.
This prevents accidental rewrites of any HTTP URLs in query string
parameters, like for example:

    http://localhost/translate?src=http://non-secure-site.org/
3b2f681
@kennethreitz
Owner

Thanks!

@kennethreitz kennethreitz merged commit 6735984 into kennethreitz:master Apr 30, 2012
@kennethreitz
Owner

🍰

@nvie
Contributor
nvie commented Apr 30, 2012

\o/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment