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.

Author luiz.poleto
Recipients luiz.poleto
Date 2016-04-16.06:54:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460789669.45.0.432751253755.issue26775@psf.upfronthosting.co.za>
In-reply-to
Content
urllib.parse has two methods, parse_qs and parse_qsl to parse a query string and return its parameters/values as a dictionary or a list, respectively. However, the unit tests only tests parse_qsl, which is also incomplete since both parse_qs and parse_qsl support & and ; as separators for key=value pairs and there are only test scenarios using &.

The attached patch add a new test for parse_qs as well as new scenarios including ; as separator.
History
Date User Action Args
2016-04-16 06:54:29luiz.poletosetrecipients: + luiz.poleto
2016-04-16 06:54:29luiz.poletosetmessageid: <1460789669.45.0.432751253755.issue26775@psf.upfronthosting.co.za>
2016-04-16 06:54:28luiz.poletolinkissue26775 messages
2016-04-16 06:54:28luiz.poletocreate