You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the 2176 security issue rears its ugly head when submitting multi-part
data across triggered by an ExternalInterface call.
I read elsewhere about the problem and figured it wasn't able to be fixed.
Turns out it can.
I'm not sure why the "cotentType" property was set and not the
"requestHeaders" but if within the doSend() method you change:
urlRequest.contentType = 'multipart/form-data; boundary=' + getBoundary();
TO:
urlRequest.requestHeaders.push(new URLRequestHeader("Content-Type",
'multipart/form-data; boundary=' + getBoundary()));
Everything seems to work then even with ExternalInterface. Again I really
don't know why it was the other way, but this class is really convenient
and great. It makes adding data a very simple both strings and file data.
So I really love this class. Hope this helps.
Original issue reported on code.google.com by Tom.Maia...@gmail.com on 24 Feb 2010 at 11:49
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
Tom.Maia...@gmail.com
on 24 Feb 2010 at 11:49The text was updated successfully, but these errors were encountered: