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

UNCONFIRMED
Unassigned

Status

()

Firefox
File Handling
UNCONFIRMED
6 years ago
4 years ago

People

(Reporter: Ache, Unassigned)

Tracking

14 Branch
x86
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
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.

Updated

6 years ago
Component: Untriaged → Location Bar

Updated

4 years ago
Component: Location Bar → File Handling
You need to log in before you can comment on or make changes to this bug.