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

_rev_limit accepts not numeric values (resulting in a crash)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2, 1.2.1, 1.3
    • None
    • None
    • 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

            Unassigned Unassigned
            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