(In reply to comment #18)
> Unbitrotted, and creating the file:// url in a safer way.
>
> This patch works, but it's a bit ugly.
Thanks for the update!
I have only a mailbox:// URL to the attachment there... what component can
I use to extract the attachment from the file, pointed by the mailbox:// URL, and store it in a temporary file?
Or is there another way to retrieve the attachment data somehow? /me is still missing the overview how these things work together :(
(In reply to comment #18)
> Unbitrotted, and creating the file:// url in a safer way.
>
> This patch works, but it's a bit ugly.
Thanks for the update!
> Windows doesn't need to do it this way, so I'm thinking the "proper" fix is mxr.mozilla. org/comm- central/ source/ mozilla/ widget/ src/windows/ nsDragService. cpp#559 mxr.mozilla. org/comm- central/ source/ mozilla/ widget/ src/gtk2/ nsDragService. cpp
> probably somewhere in the gtk drag service
>
> http://
> http://
Hmm, but how can I create such a temporary file inside the drag service implementation?
I have only a mailbox:// URL to the attachment there... what component can
I use to extract the attachment from the file, pointed by the mailbox:// URL, and store it in a temporary file?
Or is there another way to retrieve the attachment data somehow? /me is still missing the overview how these things work together :(
Ciao,
Tobias