users@jersey.java.net

[Jersey] Re: Problem with curly braces in request parameter value

From: Miroslav Fuksa <miroslav.fuksa_at_oracle.com>
Date: Mon, 2 Jun 2014 13:35:15 +0200

Hi,

please see this bug report in JIRA. It looks like your problem. You can add your comments if you like.
https://java.net/jira/browse/JERSEY-2525

thanks
Mira


On May 30, 2014, at 10:57 PM, Eugene Strokin <eugene_at_strokin.info> wrote:

> Hello,
> I have inhereted old restful services which I need to migrate to Jersey. One of the calls looks like this:
> /myService?myParam={something,other}
> I'm getting exception:
> Illegal character "," at position 27 is not allowed as a part of a name in a path template "myParam={something,other}"
> All I need to do, is just get value of the parameter. But I cannot change the format of the value. It mast by like this myParam={something,other}
> If I remove curly braces everything works.
> How can I fix this problem?
> Thank you,
> Eugene
>