summary refs log tree commit diff stats
path: root/tests/stdlib/turi.nim
Commit message (Collapse)AuthorAgeFilesLines
* start using import {.all.} (#17736)Timothee Cour2021-04-161-0/+19
|
* [std/uri]fix #17481 (#17568)flywind2021-03-291-0/+11
|
* uri: document removeDotSegments, add tests, show failure modes (#17064)Timothee Cour2021-02-201-8/+1
| | | | * uri: document removeDotSegments, add tests, show failure modes * address comments
* Fix bug in removeDotSegments: added test (#17050)Benoit Favre2021-02-161-0/+1
| | | | | * Fix bug in removeDotSegments when path ends with dot * Add test for trailing period bug in uri
* Improve uri.parseQuery to never raise an error (#16647)Mildred Ki'Lya2021-01-121-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 Cour2020-12-291-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)flywind2020-11-241-1/+284
| | | | | | | | | * move tests to testament * minor * fix random * disable test random
* fix #15333 (#15336)flywind2020-09-241-0/+17