Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Component/s: HTTP Interface
    • Labels:
    • Skill Level:
      Regular Contributors Level (Easy to Medium)

      Description

      I just noticed this.

      $ curl -i http://localhost:5984//
      HTTP/1.1 500 Internal Server Error
      Server: CouchDB/1.2.0 (Erlang OTP/R15B)
      Date: Tue, 13 Mar 2012 08:48:46 GMT
      Content-Type: text/plain; charset=utf-8
      Content-Length: 53
      Cache-Control: must-revalidate

      {"error":"unknown_error","reason":"function_clause"}

      That's weird. Usually CouchDB strips trailing slashes:

      $ curl http://localhost:5984/x/////

      {"db_name":"x","doc_count":1,...}

      $ curl http://localhost:5984/x/blah/////
      {"_id":"blah","_rev":"2-6c4b3bc6c2fdc5043139942dc6f1b994","_attachments":{"out.txt" ...

      $ curl http://localhost:5984/x/blah////out.txt///////
      Hello, world!

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jason Smith
            Reporter:
            Jason Smith
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development