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

Added open_uri_redirections to allow HTTP/HTTPS transfers #52

Merged
merged 1 commit into from
Feb 17, 2014

Conversation

ldodds
Copy link
Contributor

@ldodds ldodds commented Feb 17, 2014

By default open-uri doesn't allow HTTP->HTTPS or HTTPS->HTTP redirects and this is causing the error reports in Data-Liberation-Front/csvlint.io#53.

Added the open_uri_redirections gem which patches open-uri and we now allow both types of redirection.

@Floppy can you think of any issues with this? (I can't as its all open data, but wanted a second opinion).

@Floppy
Copy link
Member

Floppy commented Feb 17, 2014

No, this seems like a good idea.

Floppy added a commit that referenced this pull request Feb 17, 2014
Added open_uri_redirections to allow HTTP/HTTPS transfers
@Floppy Floppy merged commit 150ea8b into master Feb 17, 2014
@Floppy Floppy deleted the feature-follow-redirects branch February 17, 2014 13:37
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