[ 
https://issues.apache.org/jira/browse/METRON-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Casey Stella updated METRON-382:
--------------------------------
    Fix Version/s:     (was: 0.2.1BETA)

> Fix special characters for config
> ---------------------------------
>
>                 Key: METRON-382
>                 URL: https://issues.apache.org/jira/browse/METRON-382
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.2.1BETA
>            Reporter: James Sirota
>            Assignee: Casey Stella
>              Labels: patch
>
> We check our configs for proper JSON formatting, but we don't check for 
> special characters.  It would be nice to check and automatically filter them 
> out.  The command in Linux that works for this is:
> tr -cd '\11\12\40-\176' < myfile1 > myfile2
> We need to execute this as a part of our script to filter them out 
> automatically.  I can see a lot of people being tripped up by this.  Every 
> time you validate a JSON against a linter and then paste it back into VI 
> these characters come in somehow.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to