Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

including anchor (#) with cgi parameters?



| I remember having this problem when working on the international sites at
| Ingram.  As I recall, the specifications for things state that the # is
| not "part of the url" but rather a "fragment" and has to go at the
| very end.  So a correct url would be:
|
|    http://www.me.com/cgi-bin/script.cgi?param=2#place

This is correct, mostly because the #place has to be handled by  your
browser. There's nothing at all that the script can do with it. Maybe
it could verify that a <a name="place"> tag  is  included,  but  this
isn't likely, because there's not a lot that any CGI script can do if
the tag isn't in the data.

The best prediction is that some browsers implement this, and  others
don't.  It looks like you have one that doesn't.

In any case, none is likely to pass the #place portion to the server.
I  wonder  if there are any servers at all that would know what to do
with it?





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org