Files
Nim/tests/stdlib
Mildred Ki'Lya 71db2be833 Improve uri.parseQuery to never raise an error (#16647)
In case of malformed query string where there is `=` on the value, handle
this character as part of the value instead of throwing an error.

The following query string should no longer crash a program:

    key=value&key2=x=1

It will be interpreted as [("key", "value"), ("key2", "x=1")]

This is correct according to latest WhatWG's HTML5 specification
recarding the urlencoded parser:
https://url.spec.whatwg.org/#concept-urlencoded-parser

Older behavior can be restored using the -d:nimLegacyParseQueryStrict
flag.
2021-01-12 13:42:05 +01:00
..
2020-12-27 14:45:57 +01:00
2020-10-29 18:12:14 +01:00
2020-10-30 09:55:21 +01:00
2020-09-21 12:21:05 +02:00
2020-11-13 16:15:13 +08:00
2020-12-28 14:13:21 +01:00
2020-11-05 14:00:49 +01:00
2020-11-04 01:24:40 -05:00
2021-01-02 20:28:59 +01:00
2020-03-23 15:47:10 +01:00
2021-01-07 19:16:26 +01:00
2020-11-24 19:06:41 +01:00
2020-12-28 14:13:21 +01:00
2020-04-03 09:03:13 +02:00
2020-12-28 14:13:21 +01:00
2020-12-28 14:13:21 +01:00
2021-01-05 20:51:51 +01:00
2020-12-28 14:13:21 +01:00
2020-12-28 14:13:21 +01:00
2020-10-29 17:32:56 +01:00
2020-12-28 14:13:21 +01:00
2021-01-11 11:39:38 +01:00
2020-12-28 14:13:21 +01:00
2018-11-23 11:58:31 +01:00
2020-12-29 13:27:08 +01:00
2020-11-23 19:53:57 +01:00
2020-12-27 14:45:57 +01:00
2020-12-27 14:45:57 +01:00
2019-05-16 21:06:04 +02:00
2020-12-28 14:13:21 +01:00
2020-07-18 10:41:33 +02:00
2020-12-28 14:13:21 +01:00
2020-11-24 19:06:41 +01:00
2017-05-04 22:25:29 +02:00
2020-12-28 14:13:21 +01:00
2020-12-28 14:13:21 +01:00
2020-12-28 14:13:21 +01:00
2020-12-10 07:58:42 +01:00
2020-12-28 14:13:21 +01:00
2020-10-18 12:57:13 -04:00
2020-12-28 14:13:21 +01:00
2020-11-24 19:06:41 +01:00
2020-11-13 08:11:00 +01:00
2018-12-11 21:23:21 +01:00
2020-11-24 19:06:41 +01:00
2020-12-28 14:13:21 +01:00
2020-11-24 19:06:41 +01:00
2020-12-28 14:13:21 +01:00
2020-12-28 14:13:21 +01:00
2020-12-28 14:13:21 +01:00
2020-12-28 14:13:21 +01:00
2020-12-28 14:13:21 +01:00
2020-07-12 03:31:03 -04:00
2020-12-28 14:13:21 +01:00
2020-11-24 19:06:41 +01:00
2020-12-28 14:13:21 +01:00
2020-10-18 12:57:13 -04:00
2018-04-30 11:16:56 +02:00
2020-12-28 14:13:21 +01:00