1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-03 00:20:35 +02:00

fix url encoding issue with spaces

This commit is contained in:
Kyle Spearrin 2018-07-25 09:10:24 -04:00
parent cbc975399c
commit 695dc98010

View File

@ -68,6 +68,10 @@ export class AcceptOrganizationComponent implements OnInit {
await this.stateService.save('orgInvitation', qParams);
this.email = qParams.email;
this.orgName = qParams.organizationName;
if (this.orgName != null) {
// Fix URL encoding of space issue with Angular
this.orgName.replace(/\+/g, ' ');
}
}
}