Forum Discussion
johns
Employee
Mar 02, 2006iRule recognize blank space in URI?
Hi, I need to detect blank space in URI and either remove it or rewrite it:
www.mysite.com/some content/showme.html
to
www.mysite.com/some%20content/showme.html
...
unRuleY_95363
Mar 27, 2006Historic F5 Account
You need to rewrite the uri in CLIENT_DATA using TCP::payload replace. The HTTP parser will not recognize the spaces in the uri (the original problem) and so when you rewrite the uri, it only rewrites what it thinks is the uri (everything up to the first space). That is why you are left with the extra " and B".
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
