Forum Discussion
andrew_deackes_
Nimbostratus
Jul 18, 2014odd behaviour with # in uri
Hi,
I have an irule performing various redirects. However, we've found that if the uri contains a after a / it matches a rule we don't want it to. For example:
https://www.company.coom/fin...
JG
Cumulonimbus
Jul 18, 2014"" is a fragment identifier that is supposed to be processed on the client side only. The [HTTP::uri] on the server side does the right thing by ignoring it as part of the URI when matching. But there seems inconsistency here, as the fragment also gets appended when "HTTP::respond 301 Locatin" is called, as part of URI.
You can probably get at "" from the request header by calling HTTP::request and then parsing it.
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