Forum Discussion
maximillean_953
Nimbostratus
Feb 13, 2014Irule related with static content filtering with more url after suffix
Hi,
when request come as /xyz/1.jpg it works perfectly and accept otherwise block.
But it also blocks /xyz/1.jpg?3123123213 request. I dont want this to happen. Should i use contains with images dat...
Kevin_Stewart
Employee
Feb 14, 2014Ah, well how about this.
when HTTP_REQUEST {
if { [class match [string tolower [HTTP::path]] starts_with images] } {
return
} else {
reject
}
}
Using the [HTTP::path] command instead to "normalize" the URI (strip off the query string value).
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
