On May 29, 2008, at 2:32 PM, Stephan Koops wrote:
> And what about a "{" without an corresponding "}"? Reject with
> IllegalArgumentException?
> And what about a "{" in a var name? use as varname? must it be
> closed by "}" multiple or not? Also reject?
>
Both are errors I'd say. The first is an illegal URI (unless the { is
% encoded). The second is an invalid template variable name.
Marc.
>
> Stephan Koops schrieb:
>> Hi,
>>
>> is it right, that template variables are not encoded or checked? I
>> found nothing about it in the javadoc of the UriBuilder (https://jsr311.dev.java.net/nonav/javadoc/index.html?javax/ws/rs/core/UriBuilder.html
>> )
>>
>> best regards
>> Stephan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: users-help_at_jsr311.dev.java.net
>
---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.