Closed Bug 298000 Opened 20 years ago Closed 18 years ago

mailto URL with space character in subject argument doesn't work

Categories

(Firefox :: General, defect)

Sun
Solaris
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Mats.Larsson, Unassigned)

Details

(Keywords: testcase, Whiteboard: CLOSEME - 05/23)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.8) Gecko/20050512 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.8) Gecko/20050512 Firefox/1.0.4

Click on URL:

mailto:?subject=See
Ericsson.com&body=http://internal.ericsson.com/page/hub_corenetwork/news/newsarchive/2005/june/articles/050614_actions_succ_outlined.jsp

Nothing happens.

It works in Mozilla Suite 1.7.8:
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.8) Gecko/20050512

Reproducible: Always

Steps to Reproduce:
1. See details
Actual Results:  
Nothing

Expected Results:  
Pop up a compose window (thunderbird is my default) with
Attached file testcase
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050617
Firefox/1.0+ ID:2005061700

WFM

<a href="mailto:x@x.xom?subject=a subject&body=http://www.x/">X</a>
You'll need to quote the href
The test case does not WFM in:
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.8) Gecko/20050512 Firefox/1.0.4
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8b2) Gecko/20050601 Firefox/1.0+

But it does WFM in:
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.8) Gecko/20050512
Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8b) Gecko/20050314

Wonder why?
very odd indeed
both Seamonkey/Firefox use the same parser
Do you get any messages in javascript console after you press on the "dead"
mailto link ?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050618
Firefox/1.0+ ID:2005061809

WFM
An output from thunderbird start script <tbird_install_dir>/thunderbird with
'set -x' enabled.
(In reply to comment #3)
> very odd indeed
> both Seamonkey/Firefox use the same parser
> Do you get any messages in javascript console after you press on the "dead"
> mailto link ?

It seems to be an intercom glitch between Firefox and Thunderbird. See debug
output in comment #5.
Double quoting the test arguments in the thunderbird start script fixes the
problem for me:

% diff thunderbird thunderbird.org 
165c165
<       [ "$i" = "${_optLast}" ] && break
---
>       [ $i = ${_optLast} ] && break

Isn't this a problem on all Unix platforms?
WFM using Firefox 2.0.0.3 on Mac OS X and Ubuntu 6.10.

Mats, are you still seeing this using the testcase and Firefox 2.0.0.3 or later?
Keywords: testcase
Whiteboard: CLOSEME - 05/23
(In reply to comment #8)
> WFM using Firefox 2.0.0.3 on Mac OS X and Ubuntu 6.10.
> 
> Mats, are you still seeing this using the testcase and Firefox 2.0.0.3 or
> later?

WFM too using Firefox 2.0.0.3 on Solaris.
Thanks for reporting back!
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: