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
Drag-and-drop upload of a file with "&" in its name fails. Though files selected via system file selection dialog upload fine.
This is due to lack of escaping in XML response from the server.
I first tried to work around it via this change:
It fixed upload of DnD selected files but spoiled file names by replacing "&" with "&" for files selected via system dialog.
To work around that second issue I applied this fix:
Now it works as expected though that second piece of code looks strange unescaping XML char references before passing the XML to the parser. I actually see similar concern has been raised before here: #22 .
The text was updated successfully, but these errors were encountered:
Drag-and-drop upload of a file with "&" in its name fails. Though files selected via system file selection dialog upload fine.
This is due to lack of escaping in XML response from the server.
I first tried to work around it via this change:
It fixed upload of DnD selected files but spoiled file names by replacing "&" with "&" for files selected via system dialog.
To work around that second issue I applied this fix:
Now it works as expected though that second piece of code looks strange unescaping XML char references before passing the XML to the parser. I actually see similar concern has been raised before here: #22 .
The text was updated successfully, but these errors were encountered: