Forum Discussion
Darren_Person_2
Nimbostratus
Aug 20, 2008Bug with HTTP::URI?
Hi All,
We have an iRule which does some URL re-writing at the F5. We noticed that if a URL like this is passed in, the HTTP::uri does not return the proper value:
http://www.domain.com/section/proxy.php?url=http://www.google.com
You would expect that HTTP::uri return the left side of the ? operator, but it actually returns the right side. Does anyone know if there is a way to fix this?
Give this senario, query [URI::query [string tolower [HTTP::uri]]] return blank even though it should return the right side of the ? operator.
Any thought or is this a bug that needs to go to support?
- Nicolas_Menant
Employee
Hi, - Colin_Walker_12Historic F5 AccountYou could definitely use the path command. If you wanted to, though, you could still use the HTTP::uri command and do a getfield or split or something to grab just the left portion.
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