<p>Thanks for report and troubleshooting further. indeed it looks like the define for valid char check must be extended to isalnum. The function with mime check is quite old, maybe 2001-2003 timeframe...</p>

<p>Have you tested with isalnum()? If works fine then I will commit the change and backport.</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 or <a href="https://github.com/kamailio/kamailio/issues/561#issuecomment-205663569">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZW3zAhHR9u1fi72lfQodTmYCVg-Qks5p0fpagaJpZM4H_MYA.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/561#issuecomment-205663569"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>