Commit 18e06853 authored by Andrey Vlasovskikh's avatar Andrey Vlasovskikh
Browse files

Inject SQL into strings with "CREATE VIEW" (PY-17414)

parent 8db8aa0c
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -9,6 +9,6 @@ ...@@ -9,6 +9,6 @@
</injection> </injection>
<injection language="SQL" injector-id="python"> <injection language="SQL" injector-id="python">
<display-name>"SQL select/delete/insert/update/create"</display-name> <display-name>"SQL select/delete/insert/update/create"</display-name>
<place><![CDATA[pyStringLiteralMatches("((SELECT|DELETE)\\s.*FROM)|((INSERT|REPLACE)\\s.*INTO)|(UPDATE\\s.*SET)|((CREATE|DROP|ALTER)\\s.*(TABLE|INDEX))")]]></place> <place><![CDATA[pyStringLiteralMatches("((SELECT|DELETE)\\s.*FROM)|((INSERT|REPLACE)\\s.*INTO)|(UPDATE\\s.*SET)|((CREATE|DROP|ALTER)\\s.*(TABLE|INDEX|VIEW))")]]></place>
</injection> </injection>
</component> </component>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment