Hello

Can someone give me some clues what I might be doing wrong or
missunderstanding with this  little problem?

I've created a mapping for my restlet as follows:

/browse/{year}/{city}/{street}

now when I request the url everything works fine as long as I use
plain ascii characters in the url, e.g.
/browse/2007/london/victoriast

Perfect so far. However, when I use non-ascii characters, the uri will
not match. E.g.:
/browse/2007/d%FCsseldorf/k%F6

Why is this the case?

I've debugged Template.java and the following regex pattern is being used:
/browse/((?:[a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:[EMAIL 
PROTECTED]|(?:\%[0-9ABCDEF][0-9ABCDEF]))+)/((?:[a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:[EMAIL
 
PROTECTED]|(?:\%[0-9ABCDEF][0-9ABCDEF]))+)/((?:[a-zA-Z0-9\-\.\_\~\!\$\&\'\(\)\*\+\,\;\=\:[EMAIL
 PROTECTED]|(?:\%[0-9ABCDEF][0-9ABCDEF]))+)

Any ideas?

Stefan

Reply via email to