Hi Juha,
not sure if you really need to do the processing differently in failure
route. If you want to check the uris from branches, you should use the
pseudo variable for it - this will allow you to check any of the
branches and not only the first one.
regards,
bogdan
Juha Heinanen wrote:
Bogdan-Andrei Iancu writes:
> yes, it makes sense. But with this new function, I thing is_from_local()
> and is_uri_host_local() become obsolete.
is_from_local yes, but is_uri_host_local is more complicated thing,
because its behavior is different depending if it is called from route
block or failure_route block.
one thing that i noticed with is_domain_local is that it assumes that
its argument contains a domain. many pseudo variables only return uri,
not host part of uri. i guess it would be ok to later add new pseudo
variables for host part for such uris if someone needs them.
-- juha
_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel