[ 
https://issues.apache.org/jira/browse/COUCHDB-3224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15927953#comment-15927953
 ] 

ASF GitHub Bot commented on COUCHDB-3224:
-----------------------------------------

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


> Fauxton not correctly display database with "-" and "/" symbol in name
> ----------------------------------------------------------------------
>
>                 Key: COUCHDB-3224
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3224
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Fauxton
>            Reporter: Sergey Safarov
>
> Fauxton cannot display database with "-" symbol in name and cannot display 
> view with "/" simbol in database name.
> Tu reproduce execute "curl -X PUT 
> http://127.0.0.1:5984/mytest%2Fdata%2Fbase-201609"; ant try open this database 
> via fauxton.
> Also if you create view for this database then this view wont work.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to