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

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

Github user sergey-safarov commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/802#discussion_r104326088
  
    --- Diff: app/addons/documents/index-editor/stores.js ---
    @@ -186,7 +186,7 @@ Stores.IndexEditorStore = FauxtonAPI.Store.extend({
       getSaveDesignDoc: function () {
         if (this._designDocId === 'new-doc') {
           var doc = {
    -        _id: '_design/' + this._newDesignDocName,
    +        _id: '_design/' + encodeURIComponent(this._newDesignDocName),
    --- End diff --
    
    Is may be removed "safeURLName" function from app.utils?


> 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