Joel Wallis Jucá created COUCHDB-2976:
-----------------------------------------

             Summary: Proper redirect non-trailing slash Fauxton URL
                 Key: COUCHDB-2976
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2976
             Project: CouchDB
          Issue Type: Improvement
          Components: Fauxton
            Reporter: Joel Wallis Jucá


When a CouchDB administrator access the URL `/_utils/fauxton` he/she gets a 302 
to `/fauxton/`, that generally shows an error message:

{"error":"not_found","reason":"no_db_file"}

It is expected, since this URL patterns generally points out to a database 
instead of an administration interface. But the user should be redirected to 
`/_utils/fauxton/` at the first time, avoiding all this redirecting mess.

A 301 redirect to `/_utils/fauxton/` on the `/_utils/fauxton` endpoint could 
solve the issue.

PS: my first issue here. Please let me know if there are missing infos and/or 
something else.



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

Reply via email to