Forum Discussion
Darren_Person_2
Nimbostratus
Aug 17, 2009Bug with URI::basename?
I've been trying to track down this bug for a while now:
I have the following URL:
http://host.com/something.htm
When I use URI::basename, it returns something.htm - good ...
dennypayne
Employee
Aug 17, 2009So if you do something like this:
when HTTP_REQUEST {
log local0. "Full request is [HTTP::uri]"
log local0. "Path is [HTTP::path]"
then process your other logic
}
and you send
http://host.com/something.htm?redirect=http://redirecthost.com/somethingelse.html
then /var/log/ltm should show you precisely what you are getting on each request for those commands.
If you don't get something.htm for HTTP::path then I'd say that's definitely a bug. I can't think of a workaround yet but I'll keep digging....
Denny
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
