This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2010年11月21日 07:38 by v+python, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg121877 - (view) | Author: Glenn Linderman (v+python) * | Date: 2010年11月21日 07:38 | |
http.server on Python 3 and CGIHTTPServer on Python 2 both contain the same code with the same bug. In run_cgi, rest.rfind('?') is used to separate the path from the query string. However, it should be rest.find('?') as the query string starts with '?' but may also contain '?'. It is required that '?' not be used in URL path part without escaping.
Apache, for example, separates the following URL:
/testing?foo=bar?&baz=3
into path part /testing and query string part foo=bar?&baz=3 but http.server does not.
|
|||
| msg222192 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2014年07月03日 14:59 | |
Slipped under the radar? |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:09 | admin | set | github: 54694 |
| 2015年10月01日 22:41:14 | martin.panter | set | status: open -> closed superseder: CGIRequestHandler behave incorrectly with query component consisting mutliple ? resolution: duplicate |
| 2014年07月03日 14:59:43 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg222192 versions: + Python 3.4, Python 3.5, - Python 2.6, Python 3.1, Python 3.2 |
| 2012年03月16日 08:21:32 | orsenthil | set | assignee: orsenthil |
| 2010年11月21日 16:59:18 | pitrou | set | nosy:
+ fdrake, facundobatista, orsenthil |
| 2010年11月21日 07:38:31 | v+python | set | type: behavior |
| 2010年11月21日 07:38:12 | v+python | create | |