-rw-r--r-- | NEWS.xml | 1 | ||||
-rw-r--r-- | lib/params.cc | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -6,2 +6,3 @@ | |||
6 | <ni>Canonicalization bugfix</ni> | 6 | <ni>Canonicalization bugfix</ni> |
7 | <ni>Slightly improved interoperability with buggy implementations</ni> | ||
7 | </version> | 8 | </version> |
diff --git a/lib/params.cc b/lib/params.cc index 03867d5..b181811 100644 --- a/lib/params.cc +++ b/lib/params.cc | |||
@@ -35,3 +35,4 @@ namespace opkele { | |||
35 | throw bad_input(OPKELE_CP_ "malformed input"); | 35 | throw bad_input(OPKELE_CP_ "malformed input"); |
36 | insert(value_type(kv.substr(p,co-p),kv.substr(co+1,nl-co-1))); | 36 | if(nl>co) |
37 | insert(value_type(kv.substr(p,co-p),kv.substr(co+1,nl-co-1))); | ||
37 | p = nl+1; | 38 | p = nl+1; |