Closed Bug 273011 Opened 20 years ago Closed 15 years ago

Dragging URL to desktop fails when page title contains pipe ("|")

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect)

1.7 Branch
x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: ejp+bugz, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.3) Gecko/20040910
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.3) Gecko/20040910

Creating a shortcut by dragging the icon from the URL input to the desktop or a
folder fails if the page title (what Mozilla tries to use as the shortcut name)
contains a pipe character ("|").  AIR, some other characters fail also, but I
just tested and found colon works correctly, by substituting a dash.

This has existed since at least ~1.5.0

Reproducible: Always
Steps to Reproduce:
1. Browse to a page which has a pipe in the page title, The Register does this,
aka http://www.theregister.co.uk/2004/12/03/lycos_antispam_site_offline/
2. Try to drag the icon from the URL input to the desktop.
3. An error dlg is displayed, "the disk may be full..."

Actual Results:  
An error dlg is displayed, "the disk may be full..." but I am guessing the
problem is an attempt to create the shortcut with a pipe in the filename.

Expected Results:  
A shortcut on the desktop with a name based on the page title, but with dashes
substituted for any invalid chars (":|<>*?" at a minimum, and possibly also some
others).
wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a6) Gecko/20041202
wfm Mozilla/5.0 (Windows; U; Win98; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0

<title>Lycos antispam site taken offline | The Register    </title>

My shortcut: Lycos antispam site taken offline The Register
Whiteboard: DUPEME
Tested Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217
on the original NT4sp6 machine, bug still occurs.  Tested on a XPsp1 machine and
it worked OK, substituting a dash as expected.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217
Tested both above on NT50sp4 machine with FAT32 successfully 

Tested 175 on NT4Ssp6 (Server) and it failed there.

All indications are this is an NT4 issue, it's failed with different user
accounts, with full administrator rights, with FAT filesystem on C: drive.
The bug is not restricted just to the desktop, any other folder as the target
fails also.  On the machines where it fails, it fails going to FAT or NTFS local
drives or Netware networked drives.  On the machines where it works it works to
local drive or Netware networked drives.
Version: unspecified → 1.7 Branch
Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.7) Gecko/20050414
still broken with 177/NT4
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.12) Gecko/20050915
Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

Both above still broken on NT4sp6
==> drag/drop
Assignee: general → nobody
Component: General → Drag and Drop
Product: Mozilla Application Suite → Core
QA Contact: general
QA Contact: drag-drop
No longer applicable.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.