We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[32] pry(main)> Addressable::IDNA.to_unicode("xn--...-") NoMethodError: undefined method `size' for nil:NilClass
I think it's blowing up on this line:
addressable/lib/addressable/idna/pure.rb
Line 505 in 29e26cc
Use case, I'm trying to parse http://xn--...-/
http://xn--...-/
[21] pry(main)> Addressable::URI.heuristic_parse("http://xn--...-/").display_uri NoMethodError: undefined method `size' for nil:NilClass
The native solution works fine:
[1] pry(main)> require "addressable/idna/native" => false [2] pry(main)> Addressable::IDNA.to_unicode("xn--...-") => "xn--...-"
The text was updated successfully, but these errors were encountered:
Fixed in cf8cc7d.
Sorry, something went wrong.
No branches or pull requests
I think it's blowing up on this line:
addressable/lib/addressable/idna/pure.rb
Line 505 in 29e26cc
Use case, I'm trying to parse
http://xn--...-/
The native solution works fine:
The text was updated successfully, but these errors were encountered: