Closed gsastry closed 8 years ago
Hi,
The behaviour changed as part of #42 and 2ed9f953c86d42dd275e2b34c37b9ed78dc73c40. rfc3986 section-3.4 suggests that @
need not be percent encoded in query strings.
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
query = *( pchar / "/" / "?" )
Could you give more details about why you need @
to be percent encoded? I am happy to change the default behaviour to be pragmatic if it makes sense.
You can also use implicit val config = UriConfig.conservative
which percent encodes more than is strictly necessary (including @
)
Closing as this is expected behaviour for newer versions of scala-uri.
Hi,
I upgraded from 0.4.0 to 0.4.7 and it looks like the
toString
doesn't encode@
by default anymore, even though it looks like it should.I have to explicitly use a "custom"
UriConfig
with the encoder forpercentEncode
, which should be the default one correct?Let me know if I'm misunderstanding something here, thanks