Open madmax opened 2 years ago
Can confirm. Does not handle Norwegian characters, for example https://example.org/path-with-ø/example
This looks like a solution: uri = URI.parse(URI::Parser.new.escape(url))
. See https://stackoverflow.com/questions/46849219/ruby-uriinvalidurierror-uri-must-be-ascii-only
When we pass some no ascii characters it will raise error with URI::InvalidURIError
example: