New submission from Xiang Zhang:

According to rfc3986, section 3.4:

 The query component is indicated by the first question
 mark ("?") character and terminated by a number sign ("#") character
 or by the end of the URI.

 The characters slash ("/") and question mark ("?") may represent data
 within the query component.

But for CGIRequestHandler, it uses the content after the last ? as
query component. For uri http://localhost:8000/cgi-bin/test.py?a=b?c=d,
the QUERY_STRING is c=d.

----------
files: multiple?.diff
keywords: patch
messages: 251586
nosy: xiang.zhang
priority: normal
severity: normal
status: open
title: CGIRequestHandler behave incorrectly with query component consisting 
mutliple ?
Added file: http://bugs.python.org/file40574/multiple?.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25232>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to