1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00: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, ' ');
}
}
}