commit 3ba565cef7fca0482e4e8c1c6f7b9538653b159c
parent a85a1341787d0334b94c8b2510df53b02e072a51
Author: Alexander Burger <abu@software-lab.de>
Date: Tue, 19 Feb 2013 12:40:50 +0100
Trim trailing spaces in "lib/form.js"
Diffstat:
5 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/CHANGES b/CHANGES
@@ -1,4 +1,5 @@
* DDmmm13 picoLisp-3.1.2
+ Trim trailing spaces in "lib/form.js"
Bug in 'accept' on BSD
'+Hook2' index prefix class
Password hashing
diff --git a/ersatz/picolisp.jar b/ersatz/picolisp.jar
Binary files differ.
diff --git a/lib/form.js b/lib/form.js
@@ -1,4 +1,4 @@
-/* 17jan13abu
+/* 19feb13abu
* (c) Software Lab. Alexander Burger
*/
@@ -260,7 +260,7 @@ function post(form, file) {
continue;
else
val = fld.value;
- data += "&" + fld.name + "=" + encodeURIComponent(val);
+ data += "&" + fld.name + "=" + encodeURIComponent(val.replace(/ +$/,""));
}
}
try {
diff --git a/src/vers.h b/src/vers.h
@@ -1 +1 @@
-static byte Version[4] = {3,1,1,12};
+static byte Version[4] = {3,1,1,13};
diff --git a/src64/version.l b/src64/version.l
@@ -1,6 +1,6 @@
-# 10feb13abu
+# 19feb13abu
# (c) Software Lab. Alexander Burger
-(de *Version 3 1 1 12)
+(de *Version 3 1 1 13)
# vi:et:ts=3:sw=3