couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (Closed) (JIRA)" <>
Subject [jira] [Closed] (COUCHDB-341) No way to reconstruct true path in _list and _show functions
Date Sun, 30 Oct 2011 21:06:32 GMT


Jan Lehnardt closed COUCHDB-341.

       Resolution: Fixed
    Fix Version/s: 1.3
> No way to reconstruct true path in _list and _show functions
> ------------------------------------------------------------
>                 Key: COUCHDB-341
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>            Reporter: Jason Davies
>            Priority: Minor
>             Fix For: 1.2, 1.3
> The req.path variable is a list of path components.  However, it is impossible, for example,
to tell whether the actual path ends in '/' or not.  I propose putting the true path into
req.path as a string, and using a (JavaScript) helper function to split it into components
instead.  Alternatively the empty string '' could be appended to the list for paths ending
in '/', but I think this is probably more confusing.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message