diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-01-28 16:33:02 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-01-28 16:54:58 +0100 |
commit | da2ebb667b7a332ddd8d905bf9b9a8694765fed6 (patch) | |
tree | c352299ccdcc230e1a9f0e9d2efd633623027267 /web/lib/stats.inc | |
parent | 888aad477c7b92104d6df651dffb9d51f57cfdb4 (diff) | |
download | aur-da2ebb667b7a332ddd8d905bf9b9a8694765fed6.tar.gz aur-da2ebb667b7a332ddd8d905bf9b9a8694765fed6.tar.xz |
aurjson: Escape wildcards in "LIKE" patterns (fixes FS#18626).
Percent signs ("%") and underscores ("_") are not escaped by
mysql_real_escape_string() and are interpreted as wildcards if combined
with "LIKE", so we need to deal with them separately.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/stats.inc')
0 files changed, 0 insertions, 0 deletions