Re: Bug saving NUL character?

2008-02-16 Thread Alexandre Martani
Should I create a ticket on trac for this? Alexandre Martani On 11 fev, 19:20, Robert Gravsjö <[EMAIL PROTECTED]> wrote: > Patryk Zawadzki wrote: > > --- 8< --- > > > What kind of injection? It did not terminate the SQL query, just the > > contents of one field. SQL termination in the middle of

Re: Bug saving NUL character?

2008-02-11 Thread Robert Gravsjö
Patryk Zawadzki wrote: --- 8< --- > What kind of injection? It did not terminate the SQL query, just the > contents of one field. SQL termination in the middle of a quoted > string would result in a failed transaction. Also, AFAIR Django uses > prepared statements so there's no possibility to

Re: Bug saving NUL character?

2008-02-09 Thread Alexandre Martani
On 7 fev, 09:33, "Patryk Zawadzki" <[EMAIL PROTECTED]> wrote: > On Feb 7, 2008 4:15 AM, Alexandre Martani <[EMAIL PROTECTED]> wrote: > > > Hi, > > When I try to save a string containing NUL character (\x00), only the > > part before the character is saved. I have created a simple model: > > >

Re: Bug saving NUL character?

2008-02-07 Thread Patryk Zawadzki
On Feb 7, 2008 4:15 AM, Alexandre Martani <[EMAIL PROTECTED]> wrote: > Hi, > When I try to save a string containing NUL character (\x00), only the > part before the character is saved. I have created a simple model: > > class Test(models.Model): >content = models.TextField() Text fields are