launch wine applications with links in html mail

Bug #176705 reported by shaggy
256
Affects Status Importance Assigned to Milestone
wine (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Hi there

You can create/receive html mails containing links to local files with file:// format. In the case of
file:///usr/share/doc/bittorrent/index.html firefox will be launched to view it. Ok, why not.

If the local file pointed to is set as executable, and you have wine installed - Then wine will be used to run the file.
If you put in a link to an existing w32 exe file on the system, it will indeed start, for example:
file:///home/username/.wine/drive_c/windows/notepad.exe
Hmm, i can send links launching local applications though wine... Perhaps its not a big problem, but on the other hand i can not send links to run dedicated linux applications like /usr/bin/gnome-calculator .

If i try it with the link file:///usr/bin/gnome-calculator, evolution will run wine and wine will at least look at the file and examine its no w32 executable. But i think this is odd anyway.

regards

Revision history for this message
Sebastien Bacher (seb128) wrote :

that seems to be a wine thing reassigning there

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Does this still happen? I believe it might have something to do with Wine's mime typing. At the very least it shouldn't be trying to open gnome-calculator with Wine

Revision history for this message
Scott Ritchie (scottritchie) wrote :

This is related to MIME typing. I'm going to make a couple of changes to MIME handling in a bit, we'll see if this is still present in Intrepid.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10?

Changed in wine:
importance: Undecided → Wishlist
status: New → Incomplete
Revision history for this message
shaggy (slimshaggy) wrote :

test with this in a mail:
<a href="file:///usr/bin/gnome-calculator">gnome-calc</a>
<a href="file:///home/user/.wine_b/drive_c/some.exe">some.exe</a>
<a href="file:///usr/share/doc/bittorrent/index.html">html</a>

The receiver can launch the gnome-calculator.
... can launch the exe file, which will launch with wine
... can open html file in firefox

Is it possible to attach options with the application launch?

Revision history for this message
Kees Cook (kees) wrote :

I cannot reproduce this any more. Closing bug for now.

Changed in wine (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.