Taran Romana created COUCHDB-3206:
-------------------------------------

             Summary: 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.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to