[sword-cvs] sword/include url.h,1.5,1.6

sword at www.crosswire.org sword at www.crosswire.org
Tue Jul 20 02:29:24 MST 2004


Committed by: joachim

Update of /cvs/core/sword/include
In directory www:/tmp/cvs-serv27046/include

Modified Files:
	url.h 
Log Message:
added decode function to URL; params of an URL get decoded now; checked with cppunit before this commit

Index: url.h
===================================================================
RCS file: /cvs/core/sword/include/url.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- url.h	17 Jul 2004 16:28:04 -0000	1.5
+++ url.h	20 Jul 2004 09:29:22 -0000	1.6
@@ -72,7 +72,8 @@
 	*
 	* WARNING: It doesn't check if the URL is encoded already, so http://www.crosswire.org/test.jsp?force=1&help=1 becomes http://www.crosswire.org/test.jsp?force=1&help=1
 	*/
-	static const char *encode(const char *urlText);
+	static const char *encode(const char *urlText);	
+	static const char *decode(const char *encodedText);
 	
 private:
 	/** Parse



More information about the sword-cvs mailing list