--
Ticket URL: <https://code.djangoproject.com/ticket/17157>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* stage: Unreviewed => Accepted
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/17157#comment:1>
* owner: nobody => susan
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/17157#comment:2>
Comment (by jedierikb@…):
A few questions about this and the proposed workarounds.
1. Could you elaborate ''bring the iframed page under the same domain as
the main page''? When using a javascript library like jQuery File Upload
[https://github.com/blueimp/jQuery-File-Upload], their javascript
dynamically creates an iFrame with a form. How could the use of the
library or the library itself be adjusted so as to avoid the problems
described in this bug? Does it matter if the library is loaded from
another site hosted elsewhere?
2. Can you pass CSRF credentials as URL parameters? This is suggested by
the author of the jQuery File Upload library here
[https://github.com/blueimp/jQuery-File-
Upload/pull/148#issuecomment-4251262]. What are the concerns, precautions
to take when doing this?
--
Ticket URL: <https://code.djangoproject.com/ticket/17157#comment:3>
Comment (by akaihola):
Unfortunately I can't recall details of the upload functionality I was
implementing when I created this ticket. I would assume that I wasn't
using any JavaScript library but made a plain HTML form inside an iframe.
In this case a straightforward solution would have been getting rid of the
requirement of serving the iframe contents from a separate subdomain.
That's what I probably meant by "bring the iframed page..".
CSRF in query parameters would probably work. I don't seem to have thought
of it back then.
--
Ticket URL: <https://code.djangoproject.com/ticket/17157#comment:4>
* owner: susan =>
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/17157#comment:5>
* easy: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/17157#comment:6>
* owner: => joshkehn
* needs_docs: 0 => 1
* status: new => assigned
Comment:
Will be adding documentation specific to IE >=6 and `iframes`.
--
Ticket URL: <https://code.djangoproject.com/ticket/17157#comment:7>
* owner: joshkehn =>
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/17157#comment:8>
* owner: (none) => Lukas Udstuen
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/17157#comment:9>
* owner: Lukas Udstuen => (none)
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/17157#comment:10>
* status: new => closed
* needs_docs: 1 => 0
* resolution: => wontfix
* stage: Accepted => Unreviewed
Comment:
Microsoft deprecated all versions of Internet Explorer (see related
#31032) hence we'll not describe any new IE workarounds/caveats in Django
docs.
--
Ticket URL: <https://code.djangoproject.com/ticket/17157#comment:11>