-
Notifications
You must be signed in to change notification settings - Fork 1
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
Discrepancy with .NET normalization (encoded characters in path) #39
Comments
pushed an temporary branch with the specs, https://github.com/twingly/twingly-url/commits/tmp/issue/39 |
Idea: take a large amount of |
Yet another example (document 1001201892392545757)
[6] pry(main)> Twingly::URL.parse("https://varnull.adityamukerjee.net/2015/03/17/i-can-text-you-%f0%9f%92%a9-but-i-cant-write-my-name/").normalized.to_s
=> "https://varnull.adityamukerjee.net/2015/03/17/i-can-text-you-%f0%9f%92%a9-but-i-cant-write-my-name" |
This is probably related to MySQL and utf8mb4, |
Document 11136870104614552724 has
OriginalUrl
https://emani85.wordpress.com/2015/09/22/%e0%a6%87%e0%a6%b8%e0%a6%b0%e0%a6%be%e0%a7%9f%e0%a7%87%e0%a6%b2-%e0%a6%a5%e0%a7%87%e0%a6%95%e0%a7%87-%e0%a6%a1%e0%a7%8d%e0%a6%b0%e0%a7%8b%e0%a6%a8-%e0%a6%95%e0%a6%bf%e0%a6%a8%e0%a6%9b%e0%a7%87/
and
Url (normalized)
https://emani85.wordpress.com/2015/09/22/ইসরায়েল-থেকে-ড্রোন-কিনছে
twingly-url can't normalize OriginalUrl -> Url:
The text was updated successfully, but these errors were encountered: