From c5abfdf7dbcb421b35cf0a0297ee90982704828b Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Tue, 27 Dec 2016 18:01:35 +0200 Subject: web client: encode URI --- web/transaction.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/transaction.js b/web/transaction.js index fc00550..08c0232 100644 --- a/web/transaction.js +++ b/web/transaction.js @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2015 Kaarle Ritvanen + * Copyright (c) 2012-2016 Kaarle Ritvanen * See LICENSE file for license details */ @@ -36,7 +36,7 @@ angular.module("aconf").factory( } function objRequest(path, options) { - return request("/config" + path, options); + return request("/config" + encodeURI(path), options); } function exclusive(task) { -- cgit v1.2.3