Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | start using import {.all.} (#17736) | Timothee Cour | 2021-04-16 | 1 | -22/+0 |
| | |||||
* | [std/uri]fix #17481 (#17568) | flywind | 2021-03-29 | 1 | -1/+1 |
| | |||||
* | uri: document removeDotSegments, add tests, show failure modes (#17064) | Timothee Cour | 2021-02-20 | 1 | -1/+31 |
| | | | | * uri: document removeDotSegments, add tests, show failure modes * address comments | ||||
* | Fix bug in removeDotSegments when path ends with dot (#17038) [backport:1.2] | Benoit Favre | 2021-02-15 | 1 | -1/+1 |
| | |||||
* | uri module uses runnableExamples (#16982) | flywind | 2021-02-09 | 1 | -50/+43 |
| | |||||
* | Deprecate TaintedString (#15423) | Juan Carlos | 2021-01-15 | 1 | -2/+2 |
| | | | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com> | ||||
* | Improve uri.parseQuery to never raise an error (#16647) | Mildred Ki'Lya | 2021-01-12 | 1 | -15/+23 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | follow #15357 and move decodeQuery (#15860) | flywind | 2020-12-27 | 1 | -0/+43 |
| | | | | | | | | | * follow #15357 and move decodeQuery * solve problem one * minor * deprecate decodeData * add changelog and since * add testcase for decodeQuery | ||||
* | [docs minor] remove unicode in docs comments (#16267) | flywind | 2020-12-06 | 1 | -1/+1 |
| | |||||
* | move decode_helpers to std/private (#16209) | flywind | 2020-12-02 | 1 | -1/+1 |
| | |||||
* | move tests to testament (#16101) | flywind | 2020-11-24 | 1 | -285/+0 |
| | | | | | | | | | * move tests to testament * minor * fix random * disable test random | ||||
* | use func in uri module (#15486) | flywind | 2020-10-05 | 1 | -26/+26 |
| | |||||
* | fix #15333 (#15336) | flywind | 2020-09-24 | 1 | -2/+26 |
| | |||||
* | fix #14082, don't crash on incorrectly formatted input (#14977) [backport] | Miran | 2020-07-17 | 1 | -11/+5 |
| | | | | | | | * fix #14082, don't crash on incorrectly formatted input * address code review * remove duplication | ||||
* | move since from inclrtl to std/private/since (#14188) | hlaaftana | 2020-05-02 | 1 | -1/+1 |
| | | | | * move since from inclrtl to std/private/since * move since import in system below for HCR | ||||
* | Add Data URI Base64, implements RFC-2397 (#13759) | Juan Carlos | 2020-04-13 | 1 | -1/+35 |
| | | | | | | | | | | | | | | | | | * Add Data URI Base64, implements RFC-2397 * Add Data URI Base64, implements RFC-2397 * Add Data URI Base64, implements RFC-2397 * https://github.com/nim-lang/Nim/pull/13759#issuecomment-611498420 * https://github.com/nim-lang/Nim/pull/13759#issuecomment-611498420 * ReSync changelog * https://github.com/nim-lang/Nim/pull/13759#issuecomment-611498420 Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com> | ||||
* | [backport] run nimpretty on web stuff | narimiran | 2019-09-30 | 1 | -9/+12 |
| | |||||
* | run runnableExamples in the module scope (#11732) [feature] | Timothee Cour | 2019-07-22 | 1 | -2/+2 |
| | |||||
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵ | Araq | 2019-07-10 | 1 | -1/+1 |
| | | | | --styleCheck:error | ||||
* | Add `encodeQuery` and `?` to Uri module | LemonBoy | 2019-01-31 | 1 | -0/+56 |
| | |||||
* | uri: Update documentation typo (#10471) | Thomas T. Jarløv | 2019-01-27 | 1 | -4/+3 |
| | |||||
* | docs: fix trailing comma in links | narimiran | 2019-01-25 | 1 | -1/+1 |
| | |||||
* | better docs: uri (#10373) | Thomas T. Jarløv | 2019-01-19 | 1 | -35/+112 |
| | |||||
* | Remove long deprecated stuff (#10332) | Miran | 2019-01-18 | 1 | -27/+0 |
| | |||||
* | Don't prevent ',' from getting escaped in theindex.html | Kaushal Modi | 2018-09-28 | 1 | -0/+1 |
| | | | | | | - Enable escaping of links in theindex.html - Fixes https://github.com/nim-lang/Nim/issues/9107. - Second part of the fix for https://github.com/nim-lang/Nim/issues/9097. | ||||
* | remove deprecated stuff from the stdlib; introduce better deprecation warnings | Araq | 2018-05-05 | 1 | -5/+3 |
| | |||||
* | Merges #7700 manually and adds decodePlus option to decodeUrl too. | Dominik Picheta | 2018-05-03 | 1 | -15/+33 |
| | |||||
* | uri.nim: don't rely on zero termination | Andreas Rumpf | 2018-04-29 | 1 | -21/+18 |
| | |||||
* | Merge pull request #6597 from pgkos/uri-allow-no-authority | Dominik Picheta | 2018-01-28 | 1 | -3/+11 |
|\ | | | | | Allow parsing URIs without authority | ||||
| * | Allow parsing URIs without authority | pgkos | 2017-10-25 | 1 | -4/+12 |
| | | |||||
* | | Moved encodeUrl and decodeUrl from cgi to url | Veladus | 2017-11-25 | 1 | -0/+48 |
| | | |||||
* | | Make Uri rendering more lenient | Federico Ceratto | 2017-11-14 | 1 | -2/+35 |
| | | | | | | | | | | When the hostname and path fields are set, handle missing or extra slashes to generate valid URLs. | ||||
* | | more replacements for the deprecated '<' | Andreas Rumpf | 2017-10-29 | 1 | -1/+1 |
|/ | |||||
* | Fixes issues with URI concatenation when URI has no path. | Dominik Picheta | 2017-10-13 | 1 | -2/+11 |
| | |||||
* | avoid deprecated procs | Andreas Rumpf | 2017-07-26 | 1 | -1/+1 |
| | |||||
* | Remove expr/stmt (#5857) | Arne Döring | 2017-07-25 | 1 | -1/+1 |
| | |||||
* | Implement dial, support IPv6 in httpclient (#5763) | Ruslan Mustakov | 2017-05-02 | 1 | -1/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement dial, support IPv6 in httpclient Added ``dial`` procedure to networking modules: ``net``, ``asyncdispatch``, ``asyncnet``. It merges socket creation, address resolution, and connection into single step. When using ``dial``, you don't have to worry about IPv4 vs IPv6 problem. Fixed addrInfo loop in connect to behave properly. Previously it would stop on first non-immediate failure, instead of continuing and trying the remaining addresses. Fixed newAsyncNativeSocket to raise proper error if socket creation fails. Fixes: #3811 * Check domain during connect() only on non-Windows This is how it was in the previous implementation of connect(). * Call 'osLastError' before 'close' in net.dial * Record osLastError before freeAddrInfo in net.dial * Add missing docs for 'dial' proc * Optimize dial to create one FD per domain, add tests And make async IPv6 servers work on Windows. * Add IPv6 test to uri module * Fix getAddrString error handling | ||||
* | more isAbsolute tests for uri.nim | enthus1ast | 2017-01-21 | 1 | -4/+32 |
| | | | | Signed-off-by: enthus1ast <enthus1ast> | ||||
* | added protocol-relative test to uri.nim | enthus1ast | 2017-01-21 | 1 | -1/+3 |
| | | | | Signed-off-by: enthus1ast <enthus1ast> | ||||
* | added isAbsolute to uri.nim | enthus1ast | 2017-01-20 | 1 | -0/+15 |
| | |||||
* | Fixes #4959. | Dominik Picheta | 2016-10-26 | 1 | -0/+10 |
| | |||||
* | Fixed an wrong example of the doc | CORDEA | 2016-03-02 | 1 | -3/+3 |
| | |||||
* | Fixes #3207. | Dominik Picheta | 2015-09-28 | 1 | -0/+10 |
| | |||||
* | Fixes parsing of URIs that begin with '//'. | Dominik Picheta | 2015-08-23 | 1 | -7/+20 |
| | |||||
* | Make uri module usable for faster URI parsing: | def | 2015-03-17 | 1 | -10/+23 |
| | | | | | | - A version of parseUri that takes a uri as parameter and modifies it - Export initUri so you can use the new parseUri better - Avoid creating new strings | ||||
* | Fixes bugs introduced by ee62d56cadb. Closes #2227. | Dominik Picheta | 2015-03-05 | 1 | -0/+10 |
| | |||||
* | little documentation fix on conbine and / | Stephan Diehl | 2015-02-21 | 1 | -4/+4 |
| | |||||
* | Fix a few more warnings | def | 2015-02-17 | 1 | -0/+2 |
| | |||||
* | Happy new year! | Guillaume Gelin | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Fix (u: Uri), add test cases and make it work for opaque URIs | def | 2015-01-03 | 1 | -14/+35 |
| |