Closed Bug 155254 Opened 23 years ago Closed 22 years ago

Mac: .html extension not added when saving files w/long names

Categories

(Core Graveyard :: File Handling, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Assigned: law)

References

()

Details

(Keywords: platform-parity, Whiteboard: [issue on Mac OS 9.x, not OS X])

found using 2002.07.01.05-branch comm bits on Mac OS 9.1 (classic emulation over OS X). not a problem on OS X or other platforms. 1. go to a web page whose title is over 31 chars in length, such as http://slashdot.org 2. hit cmd+S or select File > Save Page As... 3. select either "web page complete" or "html only", but don't change the suggested file name. note that the name proffered is "Slashdot_ News for nerds, stuff", which lacks the .html extension. 4. hit Save. 5. after the file is saved, try opening it in the browser (eg, click "launch file" from the dl mgr window, or "launch file" from the progress dlg, or select it via File > Open File...). results: rather than rendering the html, all i see is the html source. the creator is MOSS and the type is TEXT. workaround: in the file picker for saving the file, change the suggested name to something ending with .html --you'll be forced to have a file name shorter than 31 chars, but then at least it'll be recognized as html.
this seems limited to os 9.x...but should be relnoted as there's an easy workaround.
Keywords: pp, relnote
okay, i did find the limit with OS X: i run into this when i entered a filename of >255 char in length. in that case, the extension was lopped off. yeah, it's an edge case, but i might as well note it here. also, when trying to open the file using OS X branch bits, the helper app dlg comes up (with mimetype application/text).
Summary: OS 9.x: .html extension not added when saving files w/long names → Mac: .html extension not added when saving files w/long names
QA Contact: sairuh → petersen
this w4m using today's 1.4 branch build on OS X, so marking as such and removing relnote kw.
Status: NEW → RESOLVED
Closed: 22 years ago
Keywords: relnote
OS: Mac System 9.x → MacOS X
Resolution: --- → WORKSFORME
Whiteboard: [issue on Mac OS 9.x, not OS X]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.