summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Berndt <ronny@apache.org>2022-08-16 09:29:16 +0200
committerRonny <ronny@apache.org>2022-08-17 15:37:10 +0200
commit9a5d0de97c2d0b309aefc54bcf66b0d0c1887df0 (patch)
tree0fdec2d4f69b0bfb37fa6a8bfccb39b88f9f4df0
parent6c57f58dd240e70fbfa92800668f38c00594ce14 (diff)
downloadcouchdb-9a5d0de97c2d0b309aefc54bcf66b0d0c1887df0.tar.gz
Update couchdb-mochiweb to v3.1.0
-rw-r--r--rebar.config.script2
-rw-r--r--src/couch_replicator/src/couch_replicator_auth_session.erl5
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},