Module: nagvis
Branch: master
Commit: ae9aaf29e87d26a7119788221c9a390385ee2d6c
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=ae9aaf29e87d26a7119788221c9a390385ee2d6c

Author: Lars Michelsen <[email protected]>
Date:   Mon Jun  7 23:57:45 2010 +0200

Added "," signs to allowed url chars - seems to be needed by some strange 
systems

---

 share/server/core/defines/matches.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/server/core/defines/matches.php 
b/share/server/core/defines/matches.php
index 620a1a1..5313d07 100644
--- a/share/server/core/defines/matches.php
+++ b/share/server/core/defines/matches.php
@@ -34,8 +34,8 @@ define('MATCH_STRING_NO_SPACE', 
'/^[[0-9a-zа-яё\:\+\[\]\(\)\_\.\,\-\?\!...@\=
 define('MATCH_STRING_NO_SPACE_EMPTY', 
'/^[[0-9a-zа-яё\:\+\[\]\(\)\_\.\,\-\?\!...@\=\/\\\]*$/iu');
 
 define('MATCH_STRING_PATH', '/^[0-9a-z\s\_\.\-\/\\\]+$/i');
-define('MATCH_STRING_URL', 
'/^[0-9a-z\s\:\+\[\]\(\)\=\%\?\&\_\.\-...@\=\/\\\]+$/i');
-define('MATCH_STRING_URL_EMPTY', 
'/^[0-9a-z\s\:\+\[\]\(\)\=\%\?\&\_\.\-...@\=\/\\\]*$/i');
+define('MATCH_STRING_URL', 
'/^[0-9a-z\s\:\+\[\]\(\)\=\%\?\&\_\,\.\-...@\=\/\\\]+$/i');
+define('MATCH_STRING_URL_EMPTY', 
'/^[0-9a-z\s\:\+\[\]\(\)\=\%\?\&\_\,\.\-...@\=\/\\\]*$/i');
 define('MATCH_GADGET_OPT', 
'/^[0-9a-z\s\:\+\[\]\(\)\_\.\,\-\&\?\!...@\=\/\\\%]+$/i');
 define('MATCH_STRING_STYLE', '/^[0-9a-z\:\;\-\+\%]*$/i');
 


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to