You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Sergey Safarov (JIRA)" <ji...@apache.org> on 2017/02/02 06:43:52 UTC

[jira] [Commented] (COUCHDB-3206) Invalid conversion of / symbol

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

Sergey Safarov commented on COUCHDB-3206:
-----------------------------------------

Please look pull request for COUCHDB-3224
https://github.com/apache/couchdb-fauxton/pull/802

> Invalid conversion of / symbol
> ------------------------------
>
>                 Key: COUCHDB-3206
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3206
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Fauxton
>            Reporter: Taran Romana
>
> when accessing any database with its name containing / 
> e.g. 
> 76/15/9720
> The ui tries to load the database using url 
> http://localhost:5984/76%252F15%252F9720
> but couchdb's api works with %2F and not with %252F
> due to this reason most of the requests to the database does not work, 
> e.g. adding new document, accesing attachments, viewing documents for a specific view and most of the database features
> The fix for the issue is to use %2F instead of / or %252F and using the same for fauxton url e.g 
> http://localhost:5984/_utils/#/database/76%2F15%2F9720/new_view
> works but the standard
> http://localhost:5984/_utils/#/database/76/15/9720/new_view 
> does not work and all other urls using the database name inside the url with / instead of %2F causes errors.
> Edit: 
> i just noticed for some db's it uses %2F to access initial information about the database and it works bu for majority %252F or / is used



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