Forum Discussion
Moe_Jartin
Cirrus
Apr 02, 2010HTTP::query, How to grab PART of the query parameters?
I am looking to use a query string parameter as part of an authentication profile but I am unsure of the behavior if there are multiple parameters. Example:
If the URI is /index.html?l...
hoolio
Cirrostratus
Apr 06, 2010You can also use URI::query to get the value of a specific parameter in the query string. There's a bug in the parameter value parsing though, so you can use a workaround:
http://devcentral.f5.com/wiki/default.aspx/iRules/uri__query
[URI::query "?&[HTTP::query] ¶m_name]
Just replace param_name with the name of the parameter you want to retrieve the value for.
Aaron
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