Hi all,
I have a very strange behaviour. I have an upload form like this:

var upform = document.createElement('form');
upform.setAttribute('action','/engine/users/avatar/');
upform.setAttribute('enctype','multipart/form-data');
upform.setAttribute('method','post');

created dynamically with JS.
With Chrome and Firefox, it works fine. But with IE, I obtain an empty
request.FILES, it seems that the filename and its location (on clients
machine! ) goes to request.POST:

POST:<QueryDict: {u'uploadedfile': [u'C:\\Users\\Onur\\Desktop\
\toto07_61.jpg']}>,

Is this a bug?
Is there a way to fetch the file through POST's dictionary?

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to