summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Token.pm1
-rw-r--r--Token.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Token.pm b/Bugzilla/Token.pm
index cde97f87e..2d5dad2a3 100644
--- a/Bugzilla/Token.pm
+++ b/Bugzilla/Token.pm
@@ -100,6 +100,7 @@ sub MailPasswordToken {
my $urlbase = &::Param("urlbase");
my $emailsuffix = &::Param('emailsuffix');
+ $token = &::url_quote($token);
open SENDMAIL, "|/usr/lib/sendmail -t";
diff --git a/Token.pm b/Token.pm
index cde97f87e..2d5dad2a3 100644
--- a/Token.pm
+++ b/Token.pm
@@ -100,6 +100,7 @@ sub MailPasswordToken {
my $urlbase = &::Param("urlbase");
my $emailsuffix = &::Param('emailsuffix');
+ $token = &::url_quote($token);
open SENDMAIL, "|/usr/lib/sendmail -t";