<p>From where did you get such URI? Because, afaik, by specs/RFC grammar, the uri must not be terminated by <code>;</code> -- the last param value must be left without <code>;</code>.</p>
<p>I haven't implemented the parser for uri+params, but that's what I understood from the developer long time ago. I know that for some some modparams that use the uri-params parser, I had to check if the last char is <code>;</code> and skip it when passing the value to the parser to avoid loosing the checks of the parser to break specs requirements.</p>
<p>The solution right now is to check the last char in such value and skip it using other string transformations such as s.substr.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1991?email_source=notifications&email_token=ABO7UZOYI5IW4RWBE4LYPH3P4IX4FA5CNFSM4H26BGUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYQR3PI#issuecomment-505486781">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZM547URR2HK4MZMX2TP4IX4FANCNFSM4H26BGUA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZOEZ3657DAVUHHPDJ3P4IX4FA5CNFSM4H26BGUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYQR3PI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1991?email_source=notifications\u0026email_token=ABO7UZOYI5IW4RWBE4LYPH3P4IX4FA5CNFSM4H26BGUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYQR3PI#issuecomment-505486781",
"url": "https://github.com/kamailio/kamailio/issues/1991?email_source=notifications\u0026email_token=ABO7UZOYI5IW4RWBE4LYPH3P4IX4FA5CNFSM4H26BGUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYQR3PI#issuecomment-505486781",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>