You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by ka...@apache.org on 2004/05/06 10:21:36 UTC
cvs commit: tcl-rivet/src rivetWWW.c
karl 2004/05/06 01:21:35
Modified: . ChangeLog
src rivetWWW.c
Log:
Made the escape_string command map spaces to plus signs (+) rather than %20.
They're equivalent and unescape the same, but the plus signs are visually
easier to take.
Revision Changes Path
1.182 +8 -0 tcl-rivet/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /home/cvs/tcl-rivet/ChangeLog,v
retrieving revision 1.181
retrieving revision 1.182
diff -u -r1.181 -r1.182
--- ChangeLog 5 May 2004 09:08:58 -0000 1.181
+++ ChangeLog 6 May 2004 08:21:35 -0000 1.182
@@ -1,3 +1,11 @@
+
+2004-05-05 Karl Lehenbauer <ka...@sc.com>
+
+ * src/rivetWWW.c: Made the escape_string command map spaces
+ to plus signs (+) rather than %20. They're equivalent and
+ unescape the same, but the plus signs are visually easier
+ to take.
+
2004-05-05 Karl Lehenbauer <ka...@sc.com>
* /rivet/packages/dio/diodisplay.tcl: Got "-type boolean"
1.7 +3 -1 tcl-rivet/src/rivetWWW.c
Index: rivetWWW.c
===================================================================
RCS file: /home/cvs/tcl-rivet/src/rivetWWW.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- rivetWWW.c 24 Feb 2004 10:24:34 -0000 1.6
+++ rivetWWW.c 6 May 2004 08:21:35 -0000 1.7
@@ -183,6 +183,8 @@
if (isalnum ((int)c)) {
*newStringP++ = c;
+ } else if (c == ' ') {
+ *newStringP++ = '+';
} else {
*newStringP++ = '%';
*newStringP++ = Rivet_DigitToHex((c >> 4) & 0x0f);
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-cvs-help@tcl.apache.org