[Mplayer-cvslog] CVS: main/libmpdemux url.c,1.23,1.24

Bertrand Baudet syncmail at mplayerhq.hu
Wed Apr 7 22:35:44 CEST 2004


CVS change done by Bertrand Baudet

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv24483

Modified Files:
	url.c 
Log Message:
'%' is unsafe and need to be escaped.


Index: url.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/url.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- url.c	10 Jan 2004 14:38:07 -0000	1.23
+++ url.c	7 Apr 2004 20:35:41 -0000	1.24
@@ -231,7 +231,7 @@
 			(c >= '0' && c <= '9') ||
 			(c >= 0x7f) ||						/* fareast languages(Chinese, Korean, Japanese) */
 			c=='-' || c=='_' || c=='.' || c=='!' || c=='~' ||	/* mark characters */
-			c=='*' || c=='\'' || c=='(' || c==')' || c=='%' || 	/* do not touch escape character */
+			c=='*' || c=='\'' || c=='(' || c==')' || 	 	/* do not touch escape character */
 			c==';' || c=='/' || c=='?' || c==':' || c=='@' || 	/* reserved characters */
 			c=='&' || c=='=' || c=='+' || c=='$' || c==',' || 	/* see RFC 2396 */
 			c=='\0' ) {




More information about the MPlayer-cvslog mailing list