On Wed, Apr 2, 2008 at 5:06 AM, Thomas Guettler <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> if you have a lot of post data, you might get random extraneous newline
> characters. I got it in a select input. It took long to find the problem:
>
> http://code.djangoproject.com/ticket/6256
>
> Attention, the mentioned one line patch is broken. It alters uploaded
> binary data.
>
> The python bug: http://bugs.python.org/issue1555570
>
> I post this here, in hope it safes time for other developers.
>
> Unfortunately there is no good fix (except patching python) found yet.
>

I uploaded a new patch to the ticket that avoids corrupting uploaded binary
data.  Verified it worked on my app, where it is very easy to hit this
problem.  Feedback on it welcome since I'm not sure how (if) Django
generally deals with working around underlying Python bugs.

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to