From: Paul Hänsch Date: Wed, 14 Apr 2021 15:48:06 +0000 (+0200) Subject: bugfix: fix error when reading literal "+" char from storage X-Git-Url: http://git.plutz.net/?p=cgilite;a=commitdiff_plain;h=c207699d7f39ce4bf96139e25da61e13cb94be4c bugfix: fix error when reading literal "+" char from storage --- diff --git a/storage.sh b/storage.sh index 82d3d77..355bd56 100755 --- a/storage.sh +++ b/storage.sh @@ -105,7 +105,7 @@ UNSTRING(){ \\n*) out="${out}${BR}"; in="${in#\\n}" ;; \\r*) out="${out}${CR}"; in="${in#\\r}" ;; \\t*) out="${out} "; in="${in#\\t}" ;; - \\+) out="${out}+"; in="${in#\\+}" ;; + \\+*) out="${out}+"; in="${in#\\+}" ;; +*) out="${out} "; in="${in#+}" ;; \\*) in="${in#\\}" ;; *) out="${out}${in%%[\\+]*}"; in="${in#"${in%%[\\+]*}"}" ;;