Forum Discussion
Shyam_Shukla
Nimbostratus
Feb 14, 2020Replace mutiple forward slash with one
Hello All, I need to check if [HTTP::path] contains more than one forward slash (/) then replace all of them with single forward slash. For e.g., if [HTTP::path] value comes as //abcd//xyz//a...
Shyam_Shukla
Nimbostratus
Feb 14, 2020Thank you for sharing the details.
I am wondering how it would handle if more than 2 forward slash are found in URI , for e.g. ////abcd//xyz///abcd as it would just check for 2 forward slashes and in the request URI there could be 2, 3 ...n number of forward slashes? Can regex be put in condition block of Local Traffic Policies?
Thanks,
Shyam
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
