summaryrefslogtreecommitdiffstats
path: root/Lib/DocXMLRPCServer.py
Commit message (Collapse)AuthorAgeFilesLines
* [Bug #1473048]Andrew M. Kuchling2006-05-311-0/+4
| | | | | | | | | | | | | | | | SimpleXMLRPCServer and DocXMLRPCServer don't look at the path of the HTTP request at all; you can POST or GET from / or /RPC2 or /blahblahblah with the same results. Security scanners that look for /cgi-bin/phf will therefore report lots of vulnerabilities. Fix: add a .rpc_paths attribute to the SimpleXMLRPCServer class, and report a 404 error if the path isn't on the allowed list. Possibly-controversial aspect of this change: the default makes only '/' and '/RPC2' legal. Maybe this will break people's applications (though I doubt it). We could just set the default to an empty tuple, which would exactly match the current behaviour.
* Reduce the usage of the types module.Raymond Hettinger2005-02-071-2/+1
|
* Use multi-line importAndrew M. Kuchling2004-08-311-4/+4
|
* Patch #727805: Remove extra line ending from CGI responses.Martin v. Löwis2003-05-011-1/+2
|
* Whitespace normalization.Tim Peters2003-04-241-15/+15
|
* Patch #536883: SimpleXMLRPCServer auto-docing subclass.Martin v. Löwis2003-04-181-0/+302