Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

sql checks #88

Merged
merged 1 commit into from
Oct 17, 2022
Merged

sql checks #88

merged 1 commit into from
Oct 17, 2022

Conversation

usfalami
Copy link
Collaborator

@usfalami usfalami commented Jun 1, 2022

No description provided.

@Silicoman
Copy link
Contributor

This change can also be applied easly inside php and python plugin.

1 similar comment
@Silicoman
Copy link
Contributor

This change can also be applied easly inside php and python plugin.

Copy link
Collaborator

@MP-Aubay MP-Aubay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding some review, hope it can help

@@ -1,12 +1,17 @@
package fr.cnumr.java.checks;

import java.util.regex.Pattern;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems not used

@@ -1,12 +1,17 @@
package fr.cnumr.java.checks;

import java.util.regex.Pattern;

class AvoidFullSQLRequestCheck {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe adding some test like that would be wised :
dummyCall("SELECT user FROM (SELECT * FROM table)");

@med-S med-S merged commit efb7596 into cnumr:main Oct 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants