PLT-3535: Handle plus (+) sign in emails by ensuring the email is uri encoded on login redirect (#5536)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
5e9adddb6f
Коммит
d6d603d8cf
@@ -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});
|
||||
|
||||
Ссылка в новой задаче
Block a user