summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2003-12-01 22:23:02 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2003-12-01 22:23:02 +0000
commita7e205d29477f0ba9bf4051ecbdf5537afefb38b (patch)
tree13af3303bdc0dea5f7554eaf1c9600a78178061a
parent4e2c0b250e4f080d0bc3c4b587c6b2c53a0db7ac (diff)
downloadbrdo-a7e205d29477f0ba9bf4051ecbdf5537afefb38b.tar.gz
brdo-a7e205d29477f0ba9bf4051ecbdf5537afefb38b.tar.bz2
- Fixed incorrect filter usage
-rw-r--r--modules/profile.module2
-rw-r--r--modules/profile/profile.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile.module b/modules/profile.module
index 63c9eda8e..1123ba4c7 100644
--- a/modules/profile.module
+++ b/modules/profile.module
@@ -190,7 +190,7 @@ function _profile_user_view(&$user, $mode) {
case "textfield":
case "textarea":
case "checkbox":
- $value = ($t == "profile_homepage") ? "<a href=\"". check_output($user->$t) ."\">". check_output($user->$t) ."</a>" : check_output($user->$t);
+ $value = ($t == "profile_homepage") ? "<a href=\"". drupal_specialchars($user->$t) ."\">". check_output($user->$t) ."</a>" : check_output($user->$t);
$output .= form_item($field[1], $value);
break;
case "select":
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 63c9eda8e..1123ba4c7 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -190,7 +190,7 @@ function _profile_user_view(&$user, $mode) {
case "textfield":
case "textarea":
case "checkbox":
- $value = ($t == "profile_homepage") ? "<a href=\"". check_output($user->$t) ."\">". check_output($user->$t) ."</a>" : check_output($user->$t);
+ $value = ($t == "profile_homepage") ? "<a href=\"". drupal_specialchars($user->$t) ."\">". check_output($user->$t) ."</a>" : check_output($user->$t);
$output .= form_item($field[1], $value);
break;
case "select":