Forum Discussion
Yozzer
Nimbostratus
Sep 25, 2012Query parameter not lowercase
HI
i have noticed that the if statement below can be bypassed if the query parameter "biscuit" is altered in the browser to have an uppercase letter (Biscuit):
if {[matchclass [string tolower [URI::query [HTTP::uri] biscuit]] contains $::demo_datagrouplist]}
How do i ensure that this query parameter is changed to lowercase within the if statement.
Thanks
2 Replies
- Kevin_Stewart
Employee
Try:
[URI::query [string tolower [HTTP::uri]] biscuit] - Yozzer
Nimbostratus
Thanks
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