Hello tal,

this is a good question, I've just entered an issue for that : 
http://restlet.tigris.org/issues/show_bug.cgi?id=1056.

best regards,
Thierry Boileau


> This may be intended behavior, but it seems strange to me. Is it a bug?
>
>
> The Redirector does not "normalize" the target URI. For example, this
> redirection target will fail: "{ri}/.."
>
>
> I fixed this like so:
>
>
> public class NormalizingRedirector extends Redirector
>
> {
>
>       @Override
>       protected Reference getTargetRef( Request request, Response response )
>       {
>           return super.getTargetRef( request, response )**.getTargetRef();
>       }
> }
>
>
> -Tal
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2453516
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2456554

Reply via email to