From f5c1ae071936412bae8f47cb6c1b0d30c2d393bc Mon Sep 17 00:00:00 2001 From: alecmerdler Date: Fri, 23 Jun 2017 11:27:07 -0700 Subject: [PATCH] fixed AngularJS escaping '?' character in URL --- static/js/services/plan-service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/services/plan-service.js b/static/js/services/plan-service.js index 79d2a0a1b..af5716a57 100644 --- a/static/js/services/plan-service.js +++ b/static/js/services/plan-service.js @@ -67,9 +67,9 @@ function(KeyService, UserService, CookieService, ApiService, Features, Config, $ planService.getPlan(planId, function(plan) { if (planService.isOrgCompatible(plan)) { - $location.path('/organizations/new/?plan=' + planId); + $location.path('/organizations/new').search('plan', planId); } else { - $location.path('/user?plan=' + planId); + $location.path('/user').search('plan', planId); } }); });