explorerhq / explorerhq/sql-explorer
'CREATE OR REPLACE' missing in EXPLORER_SQL_BLACKLIST
Open
- Dominant language
- Python
- Stars
- 2.9k
- Forks
- 373
- PR merge metrics
- No merged PRs in 30d
Description
The CREATE statement is already on the EXPLORER_SQL_BLACKLIST, but SQLparse package treats 'CREATE OR REPLACE' as a different token, so the check for blacklisted commands in `explorer/utils.pl:35` does not detect it.
Just adding 'CREATE OR REPLACE' to the blacklist would be sufficient.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.