Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve uri.parseQuery to never raise an error (#16647) | Mildred Ki'Lya | 2021-01-12 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | improve turi.nim tests: js, vm; merge tdecodequery.nim (#16500) | Timothee Cour | 2020-12-29 | 1 | -187/+181 |
| | | | | | | | | | | | * improve turi tests: js, vm; merge tdecodequery.nim * improve test * add test in js, improve test * remove matrix: "--styleCheck:hint --panics:on" * fixup | ||||
* | move tests to testament (#16101) | flywind | 2020-11-24 | 1 | -1/+284 |
| | | | | | | | | | * move tests to testament * minor * fix random * disable test random | ||||
* | fix #15333 (#15336) | flywind | 2020-09-24 | 1 | -0/+17 |