CGI-problem

olav.viken at kmss.no olav.viken at kmss.no
Thu Jan 24 08:29:01 CET 2002


Hi!

I'm having a problem passing the '#-character' to a cgi-script.

The cgi script is invoked with a url as this:

http:/myserver/script.py?link="T:/test.htm#Mark"



Here part of my python-script

import cgi,string,os

all_values=cgi.FieldStorage()
link=all_values["link"].value
print link

this will produce output:

"T:/test.htm


So my question is:  How can I get the rest of the input string?

Thanks
Olav



More information about the Python-list mailing list