Forum Discussion
nimda_205570
Nimbostratus
Mar 11, 2016Need help create regex check host url
Hi guys I need help create irule to check url request from client.
The url is like = www.webiste.com/Key=kddkdyryltkAction=01,04,20&Value=100,100,100
Requrement:
irule should check if inside the url ...
Stanislas_Piro2
Cumulonimbus
Mar 12, 2016Hi,
you can try an irule like that:
when HTTP_REQUEST {
set actionlist [split [URI::query [HTTP::uri] Action] ","]
if {[llength $actionlist] && [llength $actionlist] ne [llength [lsort -unique $actionlist]]} {
There is a duplicate entry...
}
}
}
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