Author: Lars Michelsen <[email protected]>
Date: Tue Jan 3 15:14:42 2012 +0100
Committer: Lars Michelsen <[email protected]>
Commit-Date: Tue Jan 3 15:14:42 2012 +0100
Added ; and | to allowed signs for urls
---
ChangeLog | 1 +
share/server/core/defines/matches.php | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b8a2c86..2e6e07a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
1.6.3
Core
* Bugfix: Made upper/lower case rotation_id/backend_id definitions possible
+ * Added ; and | to allowed signs for urls
Frontend
* Showing dummy shape image when configured shape does not exist
diff --git a/share/server/core/defines/matches.php
b/share/server/core/defines/matches.php
index 9c98135..128dcd4 100644
--- a/share/server/core/defines/matches.php
+++ b/share/server/core/defines/matches.php
@@ -35,8 +35,8 @@ define('MATCH_STRING_NO_SPACE',
'/^[0-9a-zа-ÑÑ\p{L}\:\+\[\]\(\)\_\.\,\-\?\!\#
define('MATCH_STRING_NO_SPACE_EMPTY',
'/^[0-9a-zа-ÑÑ\p{L}\:\+\[\]\(\)\_\.\,\-\?\!\#\@\=\/\\\]*$/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');
define('MATCH_COORDS', '/^(?:(?:[0-9]+)|([a-z0-9]+(?:%[+-][0-9]+)?))$/');
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins