NYCPHP Meetup

NYPHP.org

[nycphp-talk] Getting fragment - after the hashmark

Flavio daCosta nyphp at n0p.net
Fri Jun 24 22:44:50 EDT 2005


Interestingly enough, It must be parsed at the browser (client side).
When I type a url in which contains a hash anchor and then run tcpdump
in the background, it appears that it is never sent to the server...

Browser Request:
http://n0p.net/?blah=test#anchor

tcpdump:
GET /?blah=test HTTP/1.1
Host: n0p.net
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6)
Gecko/20050524 Firefox/1.0 (Ubuntu package 1.0.2 MFSA2005-44)
...

Learn something new everyday! :)

Flavio



More information about the talk mailing list