Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1087

_rev_limit accepts not numeric values (resulting in a crash)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2, 1.2.1, 1.3
    • Component/s: None
    • Labels:
      None
    • Skill Level:
      New Contributors Level (Easy)

      Description

      $ curl -XPUT 0:5984/db/_revs_limit -d "\"abc\""

      {"ok":true}

      $ curl 0:5984/db/_revs_limit
      "abc"

      Inserting a record afterwards causes a crash.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lmielick Lukasz Mielicki
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified