Forum Discussion
Special character not functioning in LTM policy rule
Try specifying ? as %3F.
Also, is the ? actually required?
In the RFC, ? delimits the URI path/file and the query parameters.
So
/test/
and
/test/?
should be functionally equivalent, as the second just specifies the same path with an empty parameter string.
But (of course) YMMV depending on the compliance of the specific server ...
Thanks for that suggestion. I tried changing it and the page still won't load correctly. The user requesting the redirect states the ? and the rest of the URL are required for Google Analytics. The full URI is actually /?utm_source=Posters&utm_medium=print&utm_campaign=Poster-Rackcards
- Simon_BlakelyNov 02, 2020Employee
What version of LTM?
On 15.x, the displayed rule shows the escape character in the rule but the Location header is correct in the reply.
Can you test with a curl request that triggers the redirect:
curl -kv http://host.name.site/
Have you checked using the Browser developer tools (F12, network) to view the request/response?
Can you post the policy rule?
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