Re: [xwiki-users] IllegalArgumentException

2014-06-10 Thread Daniel Ebanja
Hi, thanks for all the help. I solved the problem. This link helped me: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding 2014-06-03 5:16 GMT+02:00 Daniel Ebanja : > Hi, > i am receiveing the following exception: > Caused by: java.lang.IllegalArgumentException: URLDecoder: Illegal hex

Re: [xwiki-users] IllegalArgumentException

2014-06-05 Thread Jeremie BOUSQUET
Hi, I think more details would be needed about what you do actually ... I tested the following groovy script in a page : {{groovy}} def space = "%C3%A4%C3%B6%C3%BC%C3%9F%C2%A7%25%21%3C%3E_helloworld" println "ENCODED ${space}" String decodedspacename = URLDecoder.decode(space, "UTF-8"); prin

Re: [xwiki-users] IllegalArgumentException

2014-06-05 Thread Daniel Ebanja
Hi, just wanted to ask if someone has an idea for me. I'll appreciate any help. Thanks Am 03.06.2014 05:16 schrieb "Daniel Ebanja" : > Hi, > i am receiveing the following exception: > Caused by: java.lang.IllegalArgumentException: URLDecoder: Illegal hex > characters in escape (%) pattern - For in

Re: [xwiki-users] IllegalArgumentException

2014-06-03 Thread Daniel Ebanja
Hi, I am trying to decode only once and I'm getting the exception already. String decodedspacename = URLDecoder.decode(space, "UTF-8").getpath(); Am 03.06.2014 09:50 schrieb "Clemens Klein-Robbenhaar" < c.robbenh...@espresto.com>: > On 06/03/2014 05:16 AM, Daniel Ebanja wrote: > > Hi, > > i am rec

Re: [xwiki-users] IllegalArgumentException

2014-06-03 Thread Clemens Klein-Robbenhaar
On 06/03/2014 05:16 AM, Daniel Ebanja wrote: > Hi, > i am receiveing the following exception: > Caused by: java.lang.IllegalArgumentException: URLDecoder: Illegal hex > characters in escape (%) pattern - For input string: "!<" > Hm, are you sure it is already decoded? I can reproduce the error me

[xwiki-users] IllegalArgumentException

2014-06-02 Thread Daniel Ebanja
Hi, i am receiveing the following exception: Caused by: java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "!<" My scenario: Users can create space by using a URL that looks like: mydomain.com/xwiki/bin/...?space= %C3%A4%C3%B6%C3%BC%C3%