Commit af3ffa0
Fix: avoid corrupting JSON-like values in CSV sanitization (#12499)
* Fix: avoid corrupting JSON-like values in CSV sanitization
* Refine CSV sanitization for JSON-like values
* add changeset
* Refactor CSV sanitization with JSON normalization and clean prefix check
* format
---------
Co-authored-by: gradio-pr-bot <[email protected]>
Co-authored-by: Freddy Boulton <[email protected]>1 parent 0c5cec1 commit af3ffa0
2 files changed
+26
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
918 | 916 | | |
919 | 917 | | |
920 | 918 | | |
| 919 | + | |
921 | 920 | | |
922 | 921 | | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
923 | 938 | | |
924 | 939 | | |
| 940 | + | |
| 941 | + | |
925 | 942 | | |
926 | 943 | | |
927 | 944 | | |
928 | | - | |
| 945 | + | |
| 946 | + | |
929 | 947 | | |
930 | 948 | | |
931 | 949 | | |
| |||
0 commit comments