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

Support for non-UTF-8 encoded URLs #137

Merged
merged 5 commits into from
Jan 28, 2015
Merged

Support for non-UTF-8 encoded URLs #137

merged 5 commits into from
Jan 28, 2015

Conversation

benbalter
Copy link
Contributor

This fixes a conversion error that gets raised when running HTML-proofer on non-UTF-8 encoded URLs.

@gjtorikian
Copy link
Owner

Is it possible to add a test? If not, just curious to know which file/URL was not working.

@benbalter benbalter self-assigned this Jan 5, 2015
@benbalter
Copy link
Contributor Author

Yes. Will do. The URL that tripped it was http://ben.balter.com/2014/09/29/source-disclosed-%E2%89%A0-open-source/.

@gjtorikian
Copy link
Owner

After spending too long trying to write a test for the two cases (https://github.com/gjtorikian/html-proofer/blob/38a2d9c519d01d2fed142961fa618d72d30492bd/spec/html/proofer/fixtures/links/utf8Link.html), I finally got it. I love Addressable.

gjtorikian added a commit that referenced this pull request Jan 28, 2015
Support for non-UTF-8 encoded URLs
@gjtorikian gjtorikian merged commit f51e166 into master Jan 28, 2015
@gjtorikian gjtorikian deleted the utf-8-urls branch January 28, 2015 23:54
@benbalter benbalter removed their assignment Jan 29, 2015
@benbalter
Copy link
Contributor Author

Nice. Thanks for tackling that. Yeah, we use Addressable as part of Gman. Works wonders.

stevemoser added a commit to stevemoser/benbalter.github.com that referenced this pull request Jan 30, 2015
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