Closed Bug 215993 Opened 21 years ago Closed 20 years ago

"Copy Email Address" doesn't unescape or strip leading space

Categories

(Firefox :: Menus, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: mconnor)

References

()

Details

Attachments

(2 files)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030811 Mozilla
Firebird/0.6.1+

Steps to reproduce:
1. Go to http://www.claremont.edu/org/shades/index2.html
2. Right-click on one of the mailto links and select "Copy Email Address"

Result: "%20shades@claremont.edu" on clipboard
Expected: "shades@claremont.edu" or " shades@claremont.edu" on clipboard

Source:
<a href="mailto:%20shades@claremont.edu">shades@claremont.edu</a>

If I click the link and it opens in Outlook Express, it turns into a space.
If I click the link and it opens in Mozilla Mail, the space disappears.
Was fixed for seamonkey in bug 160055.
Attached file testcase
Flags: blocking1.0?
Flags: blocking1.0? → blocking1.0+
easy.  taking.
Assignee: firefox → mconnor
fixed branch and trunk.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Keywords: fixed-aviary1.0
Is this really fixed ?

Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Visit http://lists.debian.org/debian-devel/2004/12/msg02200.html
right click on "To: debian-devel@lists.debian.org" , select "Copy Email Address"
Then paste, result : debian-devel%40lists.debian.org
Should be : debian-devel@lists.debian.org

HTML source :

<em>To</em>: <a
href="mailto:debian-devel%40lists.debian.org">debian-devel@lists.debian.org</a>
I still see this bug in 1.0 and today's trunk, using the testcase in comment 2.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Keywords: fixed-aviary1.0
hmm, the code is still there, wonder what's going on now?  When I fixed this, it
worked...
Status: REOPENED → ASSIGNED
Regressed between 20041010 and 20041017 (I should have saved more builds): bug
263462 maybe? It's also regressed in Seamonkey.
Fixed again.  The original patch for Seamonkey relied on a broken bit of the
NS_EscapeURL to work, which was fixed 10-12 by jshin.  mscott brought the fix
onto the aviary branch, which regressed this, but it was missed by testing until
after Firefox 1.0, but it was backed out for tbird 1.0.

Using unEscapeURIForUI instead fixes this again.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
*** Bug 283078 has been marked as a duplicate of this bug. ***
QA Contact: bugzilla → menus
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: