diff options
author | Ari Autio <ari.autio@iki.fi> | 2017-02-28 23:45:37 +0200 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-02-28 16:45:37 -0500 |
commit | d6d603d8cfd82d7a281757cceae08c8b7938d16a (patch) | |
tree | 450d4c740527df80374bc25d2bf0279526209400 /webapp/components/do_verify_email.jsx | |
parent | 5e9adddb6f19a8d18d568871559495ea51b401ae (diff) | |
download | chat-d6d603d8cfd82d7a281757cceae08c8b7938d16a.tar.gz chat-d6d603d8cfd82d7a281757cceae08c8b7938d16a.tar.bz2 chat-d6d603d8cfd82d7a281757cceae08c8b7938d16a.zip |
PLT-3535: Handle plus (+) sign in emails by ensuring the email is uri encoded on login redirect (#5536)
Diffstat (limited to 'webapp/components/do_verify_email.jsx')
-rw-r--r-- | webapp/components/do_verify_email.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/do_verify_email.jsx b/webapp/components/do_verify_email.jsx index 9b6a9ccad..54b8382b0 100644 --- a/webapp/components/do_verify_email.jsx +++ b/webapp/components/do_verify_email.jsx @@ -24,7 +24,7 @@ export default class DoVerifyEmail extends React.Component { this.props.location.query.uid, this.props.location.query.hid, () => { - browserHistory.push('/login?extra=verified&email=' + this.props.location.query.email); + browserHistory.push('/login?extra=verified&email=' + encodeURIComponent(this.props.location.query.email)); }, (err) => { this.setState({verifyStatus: 'failure', serverError: err.message}); |