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?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---