Forum Discussion
George_33131
Nimbostratus
Nov 01, 2007Match on ASCII %5F
Thanks to the Microsoft IIS "courtesy redirect" feature, I have a URL being returned that has the underscore converted to the ASCII %5F.
I need to match on the URI containing %5F to send it to the...
Nov 01, 2007
Probably the "best" way to do this is to use the URI::decode command to decode those pesky ASCII sequences.
when HTTP_REQUEST {
if { [URI::decode [HTTP::uri]] contains "some_uri" } {
do something...
}
}"some%5Furi" will convert to "some_uri" with the URI::decode command.
Hope this helps...
-Joe
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