summary refs log tree commit diff stats
path: root/lib/pure/cgi.nim
Commit message (Collapse)AuthorAgeFilesLines
* Change stdlib imports to use std prefix in most examples (#17202)Danil Yarantsev2021-02-281-1/+1
|
* fix some warnings (#16952)flywind2021-02-081-37/+37
|
* Deprecate TaintedString (#15423)Juan Carlos2021-01-151-4/+4
| | | | 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'Lya2021-01-121-10/+4
| | | | | | | | | | | | | | | | | 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 #15860 clean cgi module (#16487)flywind2020-12-271-50/+47
| | | | | * follow #15860 clean cgi module * follow #15860 clean cgi module
* follow #15357 and move decodeQuery (#15860)flywind2020-12-271-34/+16
| | | | | | | | | * follow #15357 and move decodeQuery * solve problem one * minor * deprecate decodeData * add changelog and since * add testcase for decodeQuery
* move decode_helpers to std/private (#16209)flywind2020-12-021-1/+1
|
* fixes #15369 (#15371)Andreas Rumpf2020-09-201-3/+3
|
* fix #14082, don't crash on incorrectly formatted input (#14977) [backport]Miran2020-07-171-31/+13
| | | | | | | * fix #14082, don't crash on incorrectly formatted input * address code review * remove duplication
* [backport] run nimpretty on the remaining filesnarimiran2019-09-301-5/+5
|
* Fix out of bound access in cgi module (#11578)Gérôme Fournier2019-06-251-0/+2
| | | | | When an HTTP request with a zero CONTENT_LENGTH is made, attempting to access addr(result[0]) raise an exception as the 0 index is out of bound
* Remove long deprecated stuff (#10332)Miran2019-01-181-5/+0
|
* Add readData proc that accepts a string.Konstantin Molchanov2018-11-071-0/+6
|
* even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-221-4/+3
|
* remove deprecated stuff from the stdlib; introduce better deprecation warningsAraq2018-05-051-2/+0
|
* cgi module: don't depent on the terminating zeroAndreas Rumpf2018-04-291-10/+10
|
* Moved encodeUrl and decodeUrl from cgi to urlVeladus2017-11-251-42/+2
|
* added a warning that the .deprecate statement is unreliable for routinesAndreas Rumpf2017-11-211-4/+1
|
* udpated the compiler and tester to use getOrDefaultAraq2015-10-131-1/+1
|
* renamed writeln to writeLine in libpatrick dw2015-06-191-3/+3
|
* renamed URLencode to encodeUrlAraq2014-09-101-7/+9
|
* Add depraction warnings for URLencode/decode.Dominik Picheta2014-09-101-1/+2
|
* Fixes case in cgi module.Dominik Picheta2014-09-101-5/+5
|
* Nimrod renamed to NimAraq2014-08-281-4/+4
|
* more modules updatedAraq2014-08-281-8/+8
|
* big renameAraq2014-08-271-5/+7
|
* renamefestAraq2014-08-231-38/+38
|
* made large parts of the stdlib gcsafeAraq2014-04-201-1/+1
|
* merged better html links #850Araq2014-04-081-1/+1
|
* Rework CGI error reporting.Michał Zieliński2013-12-181-9/+27
| | | | | | - remove 'undocumented' stackTraceNL - add 'undocumented' errorMessageWriter - make printing errors for browser optional (for security)
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* made tests green againAraq2012-08-161-2/+2
|
* exported strutils.abbrevAraq2012-02-241-1/+1
|
* sockets.recv optimizations; stdlib now supports taint modeAraq2011-09-241-6/+6
|
* beginning of a taint mode; type system enhancementsAraq2011-09-241-35/+35
|
* lib/pure/cgi.nim: fix typo 'passwort' instead of 'password'Keita Haga2011-08-171-46/+46
|
* newStringOfCap implemented and used to optimize some procsAraq2011-05-081-6/+13
|
* docgen understands and ignores *when false*Araq2010-11-181-23/+7
|
* bugfix: httpclientAraq2010-10-301-0/+5
|
* fixed pango/pangoutils new wrappersAndreas Rumpf2010-02-261-0/+0
|
* continued work on html/xmlparserrumpf_a@web.de2010-02-141-0/+0
|
* wrappers do not contain invalid identifiersAndreas Rumpf2010-01-171-2/+2
|
* sockets module completeAndreas Rumpf2010-01-131-40/+46
|
* version 0.8.6Andreas Rumpf2009-12-221-1/+1
|
* version 0.8.5: bugfixes; compiler now maintained in NimrodAndreas Rumpf2009-12-071-0/+34
|
* added tools and web dirsAndreas Rumpf2009-09-151-0/+0
|
* version0.7.10Andreas Rumpf2009-06-081-0/+341