Should wildcards be allowed doesnt it pose a securtity risk?
However I find it a very useful module but when a user searches for exmaple for '%u%', it is a very heavy query. Perhaps de lenght of the string should be the length with the wildcards excluded.
A feature request could be also a checkbox in the admin section wether you allow wildcards or not.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | finduser_wildcard.patch | 851 bytes | domidc |
Comments
Comment #1
domidc commentedIn order to prevent injection of sql wildcards, a simple line needs to be added to the validate function:
Comment #2
domidc commentedA patch fixing the wildcard problem posted earlier is attached to this post.
Comment #3
domidc commentedChanging to the right version
Comment #4
toemaz commentedCommitted to the HEAD.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.