Forum Discussion
John_Heyer_1508
Cirrostratus
Jan 23, 2017Ignoring Query String parameters
Consider the following iRule statement:
set PATH2 [getfield [HTTP::uri] "/" 3]
Given the URI /path1/path2, PATH2 will be set to string "path2"
However with the URI /path1/path2?name=1, PATH2 will be set to string "path2?name=1"
Is there an easy way to ignore the "?name=1"?
1 Reply
- Vijay_E
Cirrus
[HTTP::uri] == [HTTP::path] + ? + [HTTP::query]
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