Commit 4cba244
Fix SQL injection in _quotes: escape single quotes in string values
The _quotes() method wraps values in single quotes for SQL but did not
escape internal single quotes, causing SQL syntax errors with URIs
containing XML or other special characters (e.g. BioMart queries).
Fix: double single quotes (SQL standard escaping) in both the VARCHAR
return path and the JSON serialization path.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 439ed53 commit 4cba244
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1570 | 1570 | | |
1571 | 1571 | | |
1572 | 1572 | | |
1573 | | - | |
| 1573 | + | |
| 1574 | + | |
1574 | 1575 | | |
1575 | | - | |
| 1576 | + | |
| 1577 | + | |
1576 | 1578 | | |
1577 | 1579 | | |
1578 | 1580 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments