aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/profilefields
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-08-03 22:20:33 +0200
committerMarc Alexander <admin@m-a-styles.de>2017-08-03 22:23:08 +0200
commit342a7cbd55829283663ad6ba29f924eeb53fca38 (patch)
treee27528be8b9a8f3579778e129129d1d5c00a69ba /phpBB/phpbb/profilefields
parentf7d387f93c421e93ef13375bd5e0fb408e921598 (diff)
downloadforums-342a7cbd55829283663ad6ba29f924eeb53fca38.tar
forums-342a7cbd55829283663ad6ba29f924eeb53fca38.tar.gz
forums-342a7cbd55829283663ad6ba29f924eeb53fca38.tar.bz2
forums-342a7cbd55829283663ad6ba29f924eeb53fca38.tar.xz
forums-342a7cbd55829283663ad6ba29f924eeb53fca38.zip
[ticket/security/211] Allow make_clickable() again after change to regex
SECURITY-211
Diffstat (limited to 'phpBB/phpbb/profilefields')
-rw-r--r--phpBB/phpbb/profilefields/type/type_string_common.php1
-rw-r--r--phpBB/phpbb/profilefields/type/type_url.php2
2 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/phpbb/profilefields/type/type_string_common.php b/phpBB/phpbb/profilefields/type/type_string_common.php
index 2648d03930..f5e1992044 100644
--- a/phpBB/phpbb/profilefields/type/type_string_common.php
+++ b/phpBB/phpbb/profilefields/type/type_string_common.php
@@ -108,6 +108,7 @@ abstract class type_string_common extends type_base
return null;
}
+ $field_value = make_clickable($field_value);
$field_value = censor_text($field_value);
$field_value = bbcode_nl2br($field_value);
return $field_value;
diff --git a/phpBB/phpbb/profilefields/type/type_url.php b/phpBB/phpbb/profilefields/type/type_url.php
index 7bdd60e19d..37815b66a5 100644
--- a/phpBB/phpbb/profilefields/type/type_url.php
+++ b/phpBB/phpbb/profilefields/type/type_url.php
@@ -82,8 +82,6 @@ class type_url extends type_string
return null;
}
- $field_value = make_clickable($field_value);
-
return parent::get_profile_value($field_value, $field_data);
}
}