View Issue Details

IDProjectCategoryView StatusLast Update
0000165fileGeneralpublic2020-06-07 19:03
Reporterpls Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.38 
Fixed in Version5.39 
Summary0000165: Valid JSON incorrectly identified as ASCII text
DescriptionThe following examples are all valid JSON, but fail to be identified as JSON as per `file [JSON FILE]` and are identified as ASCII text:

1. Empty object: {}
2. Object with values that are empty objects: {"foo": {}} . Similar problems occur with greater nesting.
3. Empty array: []
4. Array with one element: ["foo"]
5. Object with values that are empty arrays: {"foo": []} . Like 2.), similar problems occur with greater nesting. Interestingly, {"foo": ["bar"]} is validated as JSON though.
6. Arrays containing empty objects: ["foo", "bar", {}]
TagsNo tags attached.

Activities

christos

2020-06-07 18:49

manager   ~0003425

Fixed, thanks!

Issue History

Date Modified Username Field Change
2020-05-22 21:08 pls New Issue
2020-06-07 18:49 christos Assigned To => christos
2020-06-07 18:49 christos Status new => assigned
2020-06-07 18:49 christos Status assigned => resolved
2020-06-07 18:49 christos Resolution open => fixed
2020-06-07 18:49 christos Fixed in Version => 5.39
2020-06-07 18:49 christos Note Added: 0003425
2020-06-07 19:03 christos Assigned To christos =>
2020-06-07 19:03 christos Assigned To => christos