Forum Discussion
Julio_Navarro
Cirrostratus
Jul 22, 2019Scrub/Replace double backslashes
Hi,
Given this example, www.somewhere.com/folder/folder2//page, which is the must efficient way to scrub the two backlashes to one, ending with www.somewhere.com/folder/folder2/page..... a policy?
Thanks
J
1 Reply
Sort By
- JG
Cumulonimbus
A policy is preferred and is more efficient. Here's the policy rule for this:
check_double_slash { actions { 0 { http-uri replace path "tcl:HTTP::uri [ string map {// /} [HTTP::uri]]" } } ordinal 5 }
.
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