Forum Discussion
Aug 19, 2009
From what I can determine, anchor delimiters are not passed through from the browser on requests, they are used in responses to tell the browser if it should jump to an anchor tag in the response content. I ran a trace with HttpWatch to verify this and here's what showed up
Browser Request: http://xpbert/foo/bartag1
HttpWatch trace:
(Request-Line): GET /foo/bar HTTP/1.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding: gzip,deflate
Accept-Language: en-us,en;q=0.5
Connection: keep-alive
Host: xpbert
Keep-Alive: 300
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
You'll see the GET request from the browser is "/foo/bar", not "/foo/bartag1". So it seems the browser is stripping off the anchor which means it wouldn't be getting to your backend server anyway.
-Joe