Commit 8e3615e
authored
fix: table columns with names of ' or "" or `` could not be dropped (#18506)
* fix: table columns with names of ' or "" or `` could not be dropped
Unsafe javascript string was passed to the currColumnName var. By using
escapeJsString from /modules/functions/escape.ts the unsafe string becomes
a safe string and the rest of the code runs as expected. fixes issue #18448
Signed-off-by: Thanasis Mpalatsoukas <thanasismpalatsoukas@gmail.com>
* fix: added an extra space below and added a signoff additionally
Signed-off-by: Thanasis Mpalatsoukas <thanasismpalatsoukas@gmail.com>
---------
Signed-off-by: Thanasis Mpalatsoukas <thanasismpalatsoukas@gmail.com>1 parent 170cc40 commit 8e3615e
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
| |||
0 commit comments