users@jersey.java.net

UriBuilder.segments() with semicolon

From: Trygve Laugstøl <trygvis_at_inamo.no>
Date: Wed, 22 Jul 2009 03:12:18 +0200

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