This is an automated email from the ASF dual-hosted git repository. amaranhao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git
The following commit(s) were added to refs/heads/master by this push: new 31c7301 Encode database id in permissions (#1052) 31c7301 is described below commit 31c7301f9a58e13d2d728fdbed4350d403de060a Author: Alexis Côté <popoja...@users.noreply.github.com> AuthorDate: Tue Feb 6 16:06:55 2018 -0500 Encode database id in permissions (#1052) --- app/addons/permissions/routes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/addons/permissions/routes.js b/app/addons/permissions/routes.js index 404a16f..eb7e25d 100644 --- a/app/addons/permissions/routes.js +++ b/app/addons/permissions/routes.js @@ -45,7 +45,8 @@ const PermissionsRouteObject = BaseRoute.extend({ { name: 'Permissions' } ]; - const url = FauxtonAPI.urls('permissions', 'server', databaseId); + const encodedDatabaseId = encodeURIComponent(databaseId); + const url = FauxtonAPI.urls('permissions', 'server', encodedDatabaseId); return <Layout docURL={FauxtonAPI.constants.DOC_URLS.DB_PERMISSION} -- To stop receiving notification emails like this one, please contact amaran...@apache.org.