Files
Nim/lib
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
..
2017-02-20 17:24:19 +02:00
2019-07-14 16:08:15 +02:00
2020-11-24 12:37:41 +01:00
2020-09-09 12:47:22 +02:00
2013-03-16 23:53:07 +01:00
2020-12-23 10:23:45 +08:00