From: Lo?c C. <lo...@us...> - 2001-11-30 23:14:29
|
Update of /cvsroot/phpmychat/phpMyChat - 0.14/chat In directory usw-pr-cvs1:/tmp/cvs-serv2104/chat Modified Files: input.php3 handle_inputH.php3 Log Message: fixed a bug with "half-private" messages sent to user whose name stats with "www" ***** Bogus filespec: - ***** Bogus filespec: 0.14/chat Index: input.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/input.php3,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** input.php3 2001/11/30 20:49:27 1.13 --- input.php3 2001/11/30 23:14:26 1.14 *************** *** 161,165 **** // URL ! $M = eregi_replace('([[:space:]]|^)(www)', '\\1http://\\2', $M); // no prefix (www.myurl.ext) $prefix = '(http|https|ftp|telnet|news|gopher|file|wais)://'; $pureUrl = '([[:alnum:]/\n+-=%&:_.~?]+[#[:alnum:]+]*)'; --- 161,165 ---- // URL ! $M = eregi_replace('([[:space:]]|^)(www[.])', '\\1http://\\2', $M); // no prefix (www.myurl.ext) $prefix = '(http|https|ftp|telnet|news|gopher|file|wais)://'; $pureUrl = '([[:alnum:]/\n+-=%&:_.~?]+[#[:alnum:]+]*)'; Index: handle_inputH.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat - 0.14/chat/handle_inputH.php3,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** handle_inputH.php3 2001/06/08 08:59:54 1.9 --- handle_inputH.php3 2001/11/30 23:14:26 1.10 *************** *** 165,169 **** // URL ! $M = eregi_replace('([[:space:]]|^)(www)', '\\1http://\\2', $M); // no prefix (www.myurl.ext) $prefix = '(http|https|ftp|telnet|news|gopher|file|wais)://'; $pureUrl = '([[:alnum:]/\n+-=%&:_.~?]+[#[:alnum:]+]*)'; --- 165,169 ---- // URL ! $M = eregi_replace('([[:space:]]|^)(www[.])', '\\1http://\\2', $M); // no prefix (www.myurl.ext) $prefix = '(http|https|ftp|telnet|news|gopher|file|wais)://'; $pureUrl = '([[:alnum:]/\n+-=%&:_.~?]+[#[:alnum:]+]*)'; |