Encode email for URL when deleting invited group email

This commit is contained in:
James Allen 2017-06-09 10:39:48 +01:00
parent 69bc6fc8e4
commit ba3822d1ae

View file

@ -34,7 +34,7 @@ define [
for user in $scope.selectedUsers
do (user) ->
if user.holdingAccount and !user._id?
url = "/subscription/group/email/#{user.email}"
url = "/subscription/group/email/#{encodeURIComponent(user.email)}"
else
url = "/subscription/group/user/#{user._id}"
queuedHttp({