Forum Discussion
Matt_Breedlove_
Aug 08, 2011Nimbostratus
assistance with literal question mark in switch
Hi All,
In this switch, it allows through a few URI prefixes with a wildcard, but then there is a URI that is like this
/?g
or like this
/?w
any single character following the literal ...
Michael_Yates
Aug 08, 2011Nimbostratus
You might have to find an alternate method that using a "?", since it is a Wildcard character.
See this post: http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/244/Switch-Gone-Wild-Using-Wildcards-with-the-Tcl-quotswitchquot-command.aspx
If there is something in the HTTP::query portion of the URI that you are looking for then you might have to nest a switch statement on the HTTP::query since this starts at the "?" but does not include it.
Example:
http://website.domain.com/subweb/index.html?user=test&logincheck
HTTP::query = user=test&logincheck (Not INCLUDING the ?)
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