Ticket #373 (new defect)
экранирование имени пользователя.
| Reported by: | tarabanton@… | Owned by: | PavelVinogradov |
|---|---|---|---|
| Priority: | major | Milestone: | sams-1.2.0 |
| Component: | demons | Version: | 1.0.4 |
| Keywords: | db error username escaping | Cc: |
Description (last modified by PavelVinogradov) (diff)
При создании пользователя с именем вида "ODement'ev" SAMS перестаёт писать статистику в БД. При этом в консоль сыпется следующее:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ev',domain='workgroup',hit='0'' at line 1
SAMS установлен из портов FreeBSD. Ревизия порта - 1.0.4,1
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
