diff --git a/static/js/controllers/superuser.js b/static/js/controllers/superuser.js index ee5159798..ddaee7d5c 100644 --- a/static/js/controllers/superuser.js +++ b/static/js/controllers/superuser.js @@ -16,7 +16,7 @@ function SuperUserAdminCtrl($scope, $timeout, ApiService, Features, UserService, $scope.debugLogs = null; $scope.pollChannel = null; $scope.logsScrolled = false; - $scope.csrf_token = window.__token; + $scope.csrf_token = encodeURIComponent(window.__token); $scope.configurationSaved = function() { $scope.requiresRestart = true;