Allow Mailto:s longer than > 2k on newer versions of windows

NEW
Unassigned

Status

()

Firefox
File Handling
--
enhancement
14 years ago
2 years ago

People

(Reporter: efk-mbug, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040628 Firefox/0.9.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2

Here are two mailto: links, the first one works, the second does not:
(please note, I could NOT reproduce on Os X)
<a href="mailto:a@b.com?subject=1234567890&bcc=
a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdef
gh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefg
h.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh
.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.
com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.c
om,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.co
m,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com
,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,
a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a
12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a1
2345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12
345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a123
45@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a1234
5@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345
@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,">Works</a>
<br />
<a href="mailto:a@b.com?subject=1234567890&bcc=
a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdef
gh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefg
h.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh
.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.
com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.c
om,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.co
m,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com
,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,
a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a
12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a1
2345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12
345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a123
45@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a1234
5@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345
@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a12345@abcdefgh.com,a@b.c">Broken</a>

Reproducible: Always
Steps to Reproduce:
1. Click on the first link "works"
2. Everything is fine (if a bit slow while it parses out the bcc's
3. Close compose window, and come back to the mailtos
4. Click on the second link "broken"
5. Nothing happens!

Actual Results:  
Nothing!

Expected Results:  
A compose window should have come up

Comment 1

13 years ago
reproduced from Firefox 1.0/WinXP to other mail client.

Higher limit depends on environment.
One in Japanese bugzilla says 2038byte. and My environment is less than
that(about 2000byte).
Client application path length seems to affect limit.
Status: UNCONFIRMED → NEW
Component: Message Compose Window → General
Ever confirmed: true
Product: Thunderbird → Firefox
Version: unspecified → 1.0 Branch
mark to WONTFIX.

See bug 161357.
And see here.
http://lxr.mozilla.org/mozilla/source/uriloader/exthandler/win/nsOSHelperAppService.cpp#213
213     // Some versions of windows (Win2k before SP3, Win XP before SP1)
214     // crash in ShellExecute on long URLs (bug 161357).
Status: NEW → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → WONTFIX
Whiteboard: DUPME
This doesn't necessarily have to be WONTFIX on account of bug 161357, though
it's not unreasonable given the costs of windows-version-specific code and
testing if we used different length limits on different versions. Note that you
couldn't just check for the OS's major release level, this crash was fixed in
service packs.

We'd also have to test the longer URLs against popular windows mail clients
(Outlook and Outlook Express primarily) to make sure Firefox isn't used as a
vector to exploit people using MUA's other than Thunderbird.

With Microsoft pushing everyone to get at least WinXP SP2 that wouldn't be an
unreasonable floor should someone want to let bigger URLs through.

Reopening as an enhancement request, but if we think no one is going to step up
we can close it WONTFIX again.
Severity: normal → enhancement
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Summary: Mailto:s longer then > 2040 chars do NOT get handled correctly → Allow Mailto:s longer than > 2k on newer versions of windows
Whiteboard: DUPME
Version: 1.0 Branch → Trunk

Comment 4

13 years ago
dveditz, we should be using mapi or at least dde, so the commandline length 
limit should be totally irrelevant
Core:File Handling's my best guess at an owner for uriloader - certainly better than here.
Assignee: mscott → file-handling
Status: REOPENED → NEW
Component: General → File Handling
Product: Firefox → Core
QA Contact: ian

Updated

11 years ago
Duplicate of this bug: 370949
Duplicate of this bug: 401118

Comment 8

11 years ago
What actions need to occur to get this directed to someone who can take action on it?

(In reply to comment #5)
> Core:File Handling's my best guess at an owner for uriloader - certainly better
> than here.
> 

Assignee: file-handling → nobody
QA Contact: ian → file-handling

Updated

2 years ago
Component: File Handling → File Handling
Product: Core → Firefox
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.