You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/05 21:59:32 UTC
[jira] [Commented] (COUCHDB-3224) Fauxton not correctly display
database with "-" and "/" symbol in name
[ https://issues.apache.org/jira/browse/COUCHDB-3224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15896567#comment-15896567 ]
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_r104325765
--- 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 --
Here is encoded DesignDoc name in POST request to CouchDB
Where is may be encoded viewname in POST request to CouchDB?
> 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)