Forum Discussion
jtalkington_476
Nimbostratus
Oct 22, 2010Reading HTTP::uri with a pound sign
Trying to add to a redirect rule that triggers on the uri of
/Offerings/Pages/DeliveryMethods.aspx?PageView=Sharedtable
As you can see, there's a sign near the end of the string....
hoolio
Cirrostratus
Oct 22, 2010The string after the hash is an anchor tag. HTTP user agents aren't supposed to include the anchor in the URI in requests. So it's not that HTTP::uri strips it off--the browser generally does. You can verify this behavior by using a browser plugin like HttpFox for Firefox or Fiddler.
Here's a quick confirmation using curl to make a command line request to the virtual server and logging of the HTTP::uri value:
curl -v '1.1.1.1/test.123'
< HTTP_REQUEST>: /test.123
curl -v '1.1.1.1/test.123my_anchor'
< HTTP_REQUEST>: /test.123my_anchor
Aaron
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