Fix json parsing with invalid chars like \u0000 preventing some channels from loading
This commit is contained in:
1 parent
9a319eab75
commit
b5261d900f
27 files changed
+61
-32
No files matched your search
@@ -66,7 +66,7 @@ namespace Http
|
||||
return true
|
||||
end if
|
||||
|
||||
feedSource = ParseJson(feedSource)
|
||||
feedSource = StringUtils.ParseJsonSafe(feedSource)
|
||||
if feedSource = invalid
|
||||
response.Default(400, "Expected valid JSON for feed-source")
|
||||
return true
|
||||
|
||||
Reference in new issue
Block a user