]> git.plutz.net Git - cgilite/commitdiff
bugfix: fix error when reading literal "+" char from storage
authorPaul Hänsch <paul@plutz.net>
Wed, 14 Apr 2021 15:48:06 +0000 (17:48 +0200)
committerPaul Hänsch <paul@plutz.net>
Wed, 14 Apr 2021 15:48:06 +0000 (17:48 +0200)
storage.sh

index 82d3d77b8edf9e34cb237aa685a8228b8fd0d150..355bd569e40779602381612c36fafe6b839f418d 100755 (executable)
@@ -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%%[\\+]*}"}" ;;