You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2022/08/17 13:37:17 UTC

[couchdb] branch main updated: Update couchdb-mochiweb to v3.1.0

This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/main by this push:
     new 9a5d0de97 Update couchdb-mochiweb to v3.1.0
9a5d0de97 is described below

commit 9a5d0de97c2d0b309aefc54bcf66b0d0c1887df0
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Tue Aug 16 09:29:16 2022 +0200

    Update couchdb-mochiweb to v3.1.0
---
 rebar.config.script                                        | 2 +-
 src/couch_replicator/src/couch_replicator_auth_session.erl | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/rebar.config.script b/rebar.config.script
index bba854d6e..fc409c576 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -157,7 +157,7 @@ DepDescs = [
 {hyper,            "hyper",            {tag, "CouchDB-2.2.0-7"}},
 {ibrowse,          "ibrowse",          {tag, "CouchDB-4.4.2-5"}},
 {jiffy,            "jiffy",            {tag, "1.1.1"}},
-{mochiweb,         "mochiweb",         {tag, "v3.0.0"}},
+{mochiweb,         "mochiweb",         {tag, "v3.1.0"}},
 {meck,             "meck",             {tag, "0.9.2"}},
 {recon,            "recon",            {tag, "2.5.2"}}
 ].
diff --git a/src/couch_replicator/src/couch_replicator_auth_session.erl b/src/couch_replicator/src/couch_replicator_auth_session.erl
index 392f954ab..38fd09b46 100644
--- a/src/couch_replicator/src/couch_replicator_auth_session.erl
+++ b/src/couch_replicator/src/couch_replicator_auth_session.erl
@@ -705,7 +705,10 @@ parse_max_age_test_() ->
             {"-10", undefined},
             {"\ufeff", undefined},
             {"*", undefined},
-            {"\n1", undefined},
+            {"\n1", 1},
+            {"1\n", 1},
+            {"\t\n 1 \t\n", 1},
+            {"", undefined},
             {"1", 1},
             {"1 1", undefined},
             {"2", 2},