Modify ↓
      
        Opened 18 years ago
Closed 18 years ago
#2217 closed defect (fixed)
[patch attached] SQL queries not being escaped
| Reported by: | dexen deVries | Owned by: | Brett Smith | 
|---|---|---|---|
| Priority: | normal | Component: | NikoNikoPlugin | 
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.10 | 
Description
When you enter a character which is special to SQLite into input field (comment, but also username), like a single quote, the resulting query is invalid. This may also lead to SQL injection. Attached patch attempts to fix it.
Attachments (1)
Change History (3)
Changed 18 years ago by
| Attachment: | nikonikoplugin-r2815.sql-escape.patch added | 
|---|
comment:1 Changed 18 years ago by
| Status: | new → assigned | 
|---|
comment:2 Changed 18 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | assigned → closed | 
Patch applied. Thanks for this fix :-)
Note: See
        TracTickets for help on using
        tickets.
    



patch for r2815 attempting to fix lacking SQL escaping