Open Bug 782176 Opened 12 years ago Updated 2 years ago

Location: mailto:example@example.com redirect leaves redirected page in the address bar

Categories

(Firefox :: File Handling, defect)

14 Branch
x86
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: ache666, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
Build ID: 20120713134347

Steps to reproduce:

test.html contents:
<?php
Header("Location: mailto:example@example.com");
?>
maito: handler assigned to Thunderbird. I press <a href="test.html">mail</a> link placed on index.html


Actual results:

Mail client is launched normally with right address, but I got http://example.com/test.html in the FF address bar and blank page opened, so I forced to press browser's Back button. Effect is unstable, because if I press test.html link for the 2nd time, I got client launched staying at the current page (index.html) as supposed, 3rd time the bug is repeated and so on, i.e. I got normal reaction from FF only through time.


Expected results:

Best way is _always_ to stay on the current page, while launching mail client - as Chrome, Opera and Safari do.
IE replaces address bar with mailto:example@example.com, opening blank page too, but even that is more clear result, than leaving http://example.com/test.html in the address bar as FF does.
Component: Untriaged → Location Bar
Component: Location Bar → File Handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.