[
http://jira.nuxeo.org/browse/NXP-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florent Guillaume reassigned NXP-2211:
--------------------------------------
Assignee: Sun Tan (was: Thierry Delprat)
Problem is in TransferOperation.cs, in the calls to
htmlDoc.parentWindow.execScript(scriptCode, "JavaScript");
where scriptCode is
fireCreateFile( "fileName", "", "text/plain", "/a/b/c", true,
'window.external.FileTransferCallback')
is actually transformed internally by execScript which changes " into ', which
breaks execution if fileName contains a '.
Because of this broken behavior of execScript we have to quote things by hand
differently.
> Make drag & drop from desktop to IE work for file names with an apostrophe
> --------------------------------------------------------------------------
>
> Key: NXP-2211
> URL: http://jira.nuxeo.org/browse/NXP-2211
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Affects Versions: 5.1.3
> Reporter: Florent Guillaume
> Assignee: Sun Tan
> Fix For: 5.1.5, 5.2 M2
>
>
> When doing a drag & drop from the Windows desktop into IE, a failure occurs
> if the file name contains an apostrophe (ascii single quote).
> The error is a Javascript error.
> Une erreur est survenue sur le script de cette page
> Ligne 1
> Car 43
> Erreru : 'J' attendu
> Code : 0
> URL : ...........
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets