semicolon is a valid path (segment) separator (just like '/'), so I
assume that's why it is not being encoded.
/i
On Jul 21, 2009, at 6:12 PM, Trygve Laugstøl wrote:
> Howdy
>
> I'd like to generate a path to an object with a semicolon:
>
> http://.../sessions/I like to eat cows; however, I don't like to be
> eaten by them
>
> I use UriBuilder.segments("I like to eat cows; however, I don't like
> to be eaten by them") and would expect the semicolon to be escaped
> to %3b, but it's not.
>
> Is that expected behavior? Is there a better/proper way to encode
> such paths?
>
> --
> Trygve
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>