couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garrensmith <...@git.apache.org>
Subject [GitHub] couchdb-fauxton pull request #802: COUCHDB-3224: Fixed database name encodin...
Date Thu, 16 Mar 2017 12:51:36 GMT
Github user garrensmith commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/802#discussion_r106408073
  
    --- Diff: app/addons/databases/actions.js ---
    @@ -176,7 +176,7 @@ export default {
     
         databaseName = databaseName.trim();
     
    -    const url = FauxtonAPI.urls('allDocs', 'app', app.utils.safeURLName(databaseName),
'');
    +    const url = FauxtonAPI.urls('allDocs', 'app', encodeURIComponent(databaseName), '');
    --- End diff --
    
    Same as aboce it seems its better to use `allDocsSantized` then you don't need to encodeURIComponent


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message