[asterisk-bugs] [JIRA] (ASTERISK-28667) Asterisk ignores parsing of config files if a Byte order mark is present

Sean Bright (JIRA) noreply at issues.asterisk.org
Thu Dec 19 04:41:32 CST 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on ASTERISK-28667 started by Sean Bright.

> Asterisk ignores parsing of config files if a Byte order mark is present
> ------------------------------------------------------------------------
>
>                 Key: ASTERISK-28667
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28667
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Configs/Basic-PBX
>    Affects Versions: 16.5.1
>         Environment: CentOS 7
>            Reporter: Robin Leffmann
>            Assignee: Sean Bright
>
> If a Byte order mark ("BOM") is present in a .conf file, Asterisk will incorrectly state in the log that it has parsed the file but will in effect actually skip the file entirely, without throwing a warning or error.
> The BOM is a series of three bytes, 0xEF 0xBB 0xBF, represented by Unicode code point U+FEFF, and is typically located at the very start of a text file, and sometimes at the start of one or more lines in a text file.
> A test patch prodced and offered by [~seanbright] on IRC proved to solve the problem.



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



More information about the asterisk-bugs mailing list