diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-08-08 15:03:33 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-08-08 17:06:01 +0200 |
commit | a6b275de5cd96f7a2527958e510a628012041a93 (patch) | |
tree | 70fd671bd3665b3b11e39e643a585cb62e3f926a /phpBB/phpbb/profilefields | |
parent | e4e7a8f8494922ee52d927cfcfe8b27d73452ced (diff) | |
download | forums-a6b275de5cd96f7a2527958e510a628012041a93.tar forums-a6b275de5cd96f7a2527958e510a628012041a93.tar.gz forums-a6b275de5cd96f7a2527958e510a628012041a93.tar.bz2 forums-a6b275de5cd96f7a2527958e510a628012041a93.tar.xz forums-a6b275de5cd96f7a2527958e510a628012041a93.zip |
[ticket/12794] Properly validate google+ field against valid character set
PHPBB3-12794
Diffstat (limited to 'phpBB/phpbb/profilefields')
-rw-r--r-- | phpBB/phpbb/profilefields/type/type_googleplus.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/profilefields/type/type_googleplus.php b/phpBB/phpbb/profilefields/type/type_googleplus.php index 887baa3de1..e6729b1935 100644 --- a/phpBB/phpbb/profilefields/type/type_googleplus.php +++ b/phpBB/phpbb/profilefields/type/type_googleplus.php @@ -40,7 +40,7 @@ class type_googleplus extends type_string 'field_length' => 20, 'field_minlen' => 3, 'field_maxlen' => 255, - 'field_validation' => '[\w]+', + 'field_validation' => '(?:(?!\.{2,})([^<>=+]))+', 'field_novalue' => '', 'field_default_value' => '', ); |