|
There is a bug in medusa with regard to the request unescaping. Medusa does the unescaping (turning elements with %XX format into the corresponding char) on the whole request, not only on the script path. This poses problems if your parameters use escaping to transport chars with special meaning - the escaping get's unescaped and so the parsing of URLs looses elements or shortens them. For example you can't pass an URL with a fragment part as a parameter, as the unescaping will make everything behind the # char as the fragment of the full URL instead as part of the query parameter.
I reported it twice to the medusa-dev mailing list, but no reaction so far. Same with somebody else who stumbled over the same problem. I think I will put in my own http_server.py into PyDS to circumvent this error, as the maintainer of medusa doesn't seem to be interested in fixing this annoying error. 
Update: download the following file and put it into the PYTHONLIB/medusa/ path, overwriting your http_server.py copy. This should fix the problem.
http_server.py: 25.00 KByte, last change: Sun, 29 Jun 2003 21:32:14 GMT, type: text/x-python click here to download file
|