Hi,
Since 1.5.0, get_header_keyvalue fails if the input string is in the
format ";key=value", in the past version it was accepted. The attached
patch fixes it.
br
Szo
diff --git a/core/AmUtils.cpp b/core/AmUtils.cpp
index 208c6e5..67ff529 100644
--- a/core/AmUtils.cpp
+++ b/core/AmUtils.cpp
@@ -829,6 +829,7 @@ string get_header_keyvalue_single(const string& param_hdr, const string& name) {
corr = 1;
} else {
st = ST_FINDBGN;
+ continue;
}
}
} break;
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev