Closed civitaspo closed 7 years ago
Oh, I forgot writing my environment.
addressable version: 2.5.0 ruby version: jruby 9.1.8.0 (2.3.1) 2017-03-06 90fc7ab Java HotSpot(TM) 64-Bit Server VM 25.121-b13 on 1.8.0_121-b13 +jit [darwin-x86_64]
This code https://github.com/sporkmonger/addressable/blob/4de11a4b95580607f66e7e1829e5aaeacb07a086/lib/addressable/idna/pure.rb#L114-L121 intentionally transforms multi-byte string to single-byte string if possible. Why does Addressable::Template
require this?
As mentioned in #259, it's actually required by the URI Template spec. We're going to make it optional though.
2.5.1 released w/ optional normalization.
thx so much!
Hi maintainers,
I use
addressable
in google-api-client-ruby. I found the below bug, so could you fix it?Addressable::Template#expand
transforms multi-byte brackets()
to single-byte brackets()
.