Closed indiwine closed 6 years ago
Hi I added Regexp in where. You can check in the issue "Add REGEX in WHERE query #416" . But I didn't check with PDO::quote
Oh I also do the same(on the local branch, of course) :) But with syntax: [ "REGEXP#comment" => [ 'column' => 'some column', 'pattern' => '[abz] ]]
Is secure to pass a regexp pattern to mysql without any checks?
I think its not secure but if the regexp will be provided by the developer its no problem. The challenge is how can we filter regex ?
Maybe some regexp? Regexp to check regexp
v1.5 support regexp.
Hi.
Its not an issue itself. Is it good idea to add MySQL regexp function support to Medoo?
Unfortunately its not possible to do a PDO::quote on any regexp. Is there any way to make such queries secured?
What do you think about it?