[issue19951] parse_qsl fails on empty query argument without =

2013-12-11 Thread R. David Murray
R. David Murray added the comment: I did some research on this for a previous issue, and every description of query strings I could find agreed that the format was '='. That is, that the '=' is not optional, even though some servers (note, *not* browsers, they just transmit or display the URI

[issue19951] parse_qsl fails on empty query argument without =

2013-12-11 Thread David Pizzuto
New submission from David Pizzuto: Using an empty query argument with no = fails in urlparse.parse_qsl. Chrome and Firefox accept it without the =, so a navigation to google.com/search?q=foo&bar appears in the address bar as google.com/search?q=foo&bar=. Neither RFC 1738 nor RFC 3986 define th