| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* Export Uri.isIpv6
* Export Uri.isIpv6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve dollar for uri
* Refactor
* .
* .
* verde
* optimize
* https://github.com/nim-lang/Nim/pull/20672#issuecomment-1295440246 [skip ci]
* https://github.com/nim-lang/Nim/pull/20670#issuecomment-1295937393
* ci
* Update lib/pure/uri.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
|
|
|
|
|
|
| |
* Improve getDataUri
* Restart ci
* https://github.com/nim-lang/Nim/pull/20670#issuecomment-1295937393
|
|
|
|
|
| |
* bootstrap the compiler with nimPreviewSlimSystem
* threads
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* borrowed `$` to make Time string friendly
* added sep character parameter
* Revert "added sep character parameter"
This reverts commit 45f4b019a4883b6ba577ade1f94677266beb5960.
* added sep character parameter
* Revert "borrowed `$` to make Time string friendly"
This reverts commit 10e2e44c9a04970f38cf66556635bdbb50b69136.
* added uri tests and made changelong entry
* Update lib/pure/uri.nim
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Update lib/pure/uri.nim
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Update tests/stdlib/turi.nim
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Update tests/stdlib/turi.nim
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
| |
* [docs] clarify the raised exception
Lest developers wanna know what the exception is.
* Apply suggestions from @konsumlamm
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
|
|
|
| |
This reverts commit a3ef5df680e55d9bf68027fcb0ec6358b4279d09.
|
| |
|
|
|
|
|
| |
(#17967)" (#17984)
This reverts commit f4dd95f3bee14b69caec63c3be984c4a75f43c8a.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix parseUri to sanitize urls containing ASCII newline or tab
* Fix ups based on review
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* Additional fix ups based on review
- Avoid unnecessary `removeUnsafeBytesFromUri` call if parseUri is strict
- Move some parseUri tests to uri module test file
Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
* Update changelog
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
|
|
|
|
|
|
|
| |
* deprecate `uri.initUri` and improve uri examples
* remove `func initUri*()` and make isIpv6 optional
* fixup
|
|
|
|
|
|
|
|
| |
* CIs: attempt to use csources_v1
* also updated the BSDs
* also updated azure pipelines
* std modules should not itself use the 'std/' import dir...
* compiler has to be careful with std/ for v1 booting
|
| |
|
| |
|
|
|
|
| |
* uri: document removeDotSegments, add tests, show failure modes
* address comments
|
| |
|
| |
|
|
|
|
| |
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
* solve problem one
* minor
* deprecate decodeData
* add changelog and since
* add testcase for decodeQuery
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* move tests to testament
* minor
* fix random
* disable test random
|
| |
|
| |
|
|
|
|
|
|
|
| |
* fix #14082, don't crash on incorrectly formatted input
* address code review
* remove duplication
|
|
|
|
| |
* move since from inclrtl to std/private/since
* move since import in system below for HCR
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
| |
|
|
|
|
| |
--styleCheck:error
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
| |
|
|\
| |
| | |
Allow parsing URIs without authority
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
When the hostname and path fields are set, handle missing or extra
slashes to generate valid URLs.
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
Signed-off-by: enthus1ast <enthus1ast>
|