From 695dc98010a0c6bfa410a11649e59244d13a2250 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 25 Jul 2018 09:10:24 -0400 Subject: [PATCH] fix url encoding issue with spaces --- src/app/accounts/accept-organization.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/accounts/accept-organization.component.ts b/src/app/accounts/accept-organization.component.ts index 30e28cca8d..26da9c9250 100644 --- a/src/app/accounts/accept-organization.component.ts +++ b/src/app/accounts/accept-organization.component.ts @@ -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, ' '); + } } }