Forum Discussion
Want to block URI containing # special character but the irule doesnt work
Hi Kashifr,
Could you please try to logs uri for confirm request information ?
Please try below for debug
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]]
if { ($uri contains "/portal/apps/sites/#/home") } {
log local0. "HTTP URI: $uri"
HTTP::respond 403 }
}
I hope this information will help you
- Oct 30, 2023
Again, this has no use. The anchor tag is never sent as part of the HTTP request by any browser. It is only interpreted locally within the browser.
See: https://stackoverflow.com/questions/3067491/is-the-anchor-part-of-a-url-being-sent-to-a-web-server
Recent Discussions
Related Content
* 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