summaryrefslogtreecommitdiffstats
path: root/web/web.go
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2015-12-14 09:54:11 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2015-12-14 09:54:11 -0500
commitaec25ceb4b9943848bc55a5ca76b7021789e4336 (patch)
tree7f5c2c9c25349239fe1be7b7cb98ddcbb8798273 /web/web.go
parentb9a4966e7d287ddaa16ccd7d553e2ada13edc289 (diff)
parent7fb1551254cb6085f2fe227f10f510b39bcfe424 (diff)
downloadchat-aec25ceb4b9943848bc55a5ca76b7021789e4336.tar.gz
chat-aec25ceb4b9943848bc55a5ca76b7021789e4336.tar.bz2
chat-aec25ceb4b9943848bc55a5ca76b7021789e4336.zip
Merge pull request #1720 from rgarmsen2295/plt-860
PLT 860 & 1116 - Changes test emails to include a '+' and fixes email verification issue with emails that included a '+'
Diffstat (limited to 'web/web.go')
-rw-r--r--web/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/web.go b/web/web.go
index a72bff2bf..63544229b 100644
--- a/web/web.go
+++ b/web/web.go
@@ -564,7 +564,7 @@ func verifyEmail(c *api.Context, w http.ResponseWriter, r *http.Request) {
return
} else {
c.LogAudit("Email Verified")
- http.Redirect(w, r, api.GetProtocol(r)+"://"+r.Host+"/"+name+"/login?verified=true&email="+email, http.StatusTemporaryRedirect)
+ http.Redirect(w, r, api.GetProtocol(r)+"://"+r.Host+"/"+name+"/login?verified=true&email="+url.QueryEscape(email), http.StatusTemporaryRedirect)
return
}
}