Forum Discussion
imac_105647
Nimbostratus
Jun 25, 2010Encoded ampersand problem
Hello,
I am seeing an issue where an ampersand in the URI is encoded as & semi-colon paramname, so ASM thinks that the parameter name is amp semi-colon paramname and throws a violation on having the semi-colon in there.(You need to replace space semi-colon space with just a semi-colon to see what I mean as the forum won't allow me to write exactly the string I see.)
Is there are switch I can throw that will get the ASM to decode the & semi-colon to just &?
Thanks, Ian
- hoolio
Cirrostratus
Hi Ian,when HTTP_REQUEST { Check if URI has HTML encoded ampersands if {[HTTP::query] contains "amp;"}{ Set the URI to the path plus query string with & replaced with & in the query string HTTP::uri "[HTTP::path]?[string map {& &} [HTTP::query]] } }
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