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
When implementing a Drag+Drop using a DataObject to store URIs the WPF platform (and possibly others) will mangle the URI because it's copied as a string using AbsolutePath (which is an escaped string).
Expected Behavior
For URIs to be copied without extra string escaping.
Actual Behavior
Strings are escaped an additional time when accessing the DataObject's URIs.
Steps to Reproduce the Problem
Start a dragdrop with DoDragDrop using a DataObject that contains a URI with a string that needs escaping, ie: "C:/Windows/Fonts/TreeGridView.Invalidate doesn't work #44 Font.ttf" in my case
Drop on a control with AllowDrop = true and a DragDrop event handler
When implementing a Drag+Drop using a DataObject to store URIs the WPF platform (and possibly others) will mangle the URI because it's copied as a string using AbsolutePath (which is an escaped string).
Expected Behavior
For URIs to be copied without extra string escaping.
Actual Behavior
Strings are escaped an additional time when accessing the DataObject's URIs.
Steps to Reproduce the Problem
Note that when click and dragging from Explorer will not cause this issue because the URI isn't being duplicated via AbsolutePath.
Specifications
The text was updated successfully, but these errors were encountered: