Skip to main content

sql_comment_insert

Function sql_comment_insert 

Source
pub fn sql_comment_insert(payload: &str) -> String
Expand description

Insert SQL comments (/**/) BETWEEN tokens by replacing spaces with comments.

Preserves keyword integrity while breaking WAF matching on space-separated tokens.