Skip to content

Conversation

@itsAnanth
Copy link

Fixed read only validation to handle multi-statement queries which would bypass the original validation function.
Added few tests with pytest and validated the efficiency of the new function

In earlier version you could bypass the read only query check by using multiple commands `statement1; statement2` as such it posed a security threat, rewrote to handle all edge cases.

Added proper testing using pytest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant