[asterisk-bugs] [JIRA] (ASTERISK-28295) Non-breaking space handling

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Feb 18 10:24:47 CST 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246247#comment-246247 ] 

Asterisk Team commented on ASTERISK-28295:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

> Non-breaking space handling
> ---------------------------
>
>                 Key: ASTERISK-28295
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28295
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 13.23.1
>         Environment: Debian 9.6
>            Reporter: Philip Mott
>            Severity: Minor
>
> We received a SIP invite packet of the following form:
> bq. INVITE sip:01234567890%A0 at 1.2.3.4
> Which led to the following Asterisk errors:
> bq. json.c: Error building JSON from '\{s: s, s: s\}': Invalid UTF-8 string.
> bq. stasis_channels.c: Error creating message
> I believe "%A0" is a URL-encoded non-breaking space, so it seems like that's not being handled correctly.
> Two questions:
> # Is this something that can be fixed?
> # Is there a simple way for me to recreate the error?  Only I'm finding it difficult to put a non-breaking space into the Dial command, and obviously if I can replicate the issue then I can look into ways of protecting against it if need be.
> P.S. Sorry I couldn't find a component relating to json.c when filling out this form so went with 'General' - please correct if wrong!



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list