#21181: collation specific query results ordering
-------------------------------------+-------------------------------------
     Reporter:  alan.kesselmann@…    |                    Owner:  Tom
                                     |  Carrick
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  ORM                  |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by felixxm):

 So maybe, we can add a warning in docs, e.g.
 {{{
     To protect against `SQL injection attacks
     <https://en.wikipedia.org/wiki/SQL_injection>`_, ``collation``
 shouldn't be
     a user-controlled parameter because collation names are database
     identifiers and cannot be properly escape.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21181#comment:20>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/083.633b589f3ee00c330cb92564c9e779a6%40djangoproject.com.

Reply via email to