зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1588315 - Firefox Monitor link encodes emails to handle special characters. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D49300 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
1aac000114
Коммит
5df82bce2d
|
@ -109,7 +109,9 @@ export default class MonitorClass {
|
|||
* @return URL to Monitor website.
|
||||
*/
|
||||
buildMonitorUrl(email = null) {
|
||||
return email ? `${MONITOR_SIGN_IN_URL}${email}` : MONITOR_URL;
|
||||
return email
|
||||
? `${MONITOR_SIGN_IN_URL}${encodeURIComponent(email)}`
|
||||
: MONITOR_URL;
|
||||
}
|
||||
|
||||
renderContentForUserWithLogins(monitorData) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче