mirror of
https://github.com/4IceG/luci-app-sms-tool.git
synced 2026-04-27 03:45:48 +03:00
[GH-ISSUE #25] JSON.parse fails on special invisible characters #23
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/luci-app-sms-tool#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @helllamer on GitHub (Jan 3, 2024).
Original GitHub issue: https://github.com/4IceG/luci-app-sms-tool/issues/25
The problem:
\u0011character in.[0].senderSteps to reproduce:
In my example, there are
\u0011insidesenderfield, so browser failed toJSON.parse().Looks like, related problem in SO https://stackoverflow.com/questions/28008852/json-parse-failing-on-valid-json-have-escaped-control-characters-if
@4IceG commented on GitHub (Jan 3, 2024):
Hi @helllamer ,
Problem is known https://github.com/4IceG/luci-app-sms-tool-js/issues/9 and should be solved.
@helllamer commented on GitHub (Jan 3, 2024):
Closing as duplicate of #9