Closed Bug 256882 Opened 21 years ago Closed 21 years ago

Unable to save page, when name ends with question mark (?)

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: xkous03, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs-CZ; rv:1.5) Gecko/20031007 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs-CZ; rv:1.5) Gecko/20031007 When trying to save page as ... and name of file name and with question mark, page is not saved even after several clicks on save button of save page as... dialog. Actually nothing happens after clicking this button Reproducible: Always Steps to Reproduce: 1. open save page as ... 2. enter ? at the end of the name of file 3. click on the save button Actual Results: (nothing happens then) Expected Results: save the file
I can confirm with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040822 Firefox/0.9.1+
Status: UNCONFIRMED → NEW
Ever confirmed: true
Confirming with Mozilla build 2004082407 on WinNT4. First I thought (after reading the summary only) you mean that you cannot save links like http://bugzilla.mozilla.org/show_bug.cgi? at all. Ok now I understand your problem, but what for a reason do you have to put an illegal character to a filename? Mozilla can't save such a file on Windows. The only "bug" I see is the missing error dialog for "illegal filename" like if you put a ":" in the filename. Try it. So the expected result should be "display a warning".
I tried several other application for their behavior by question marks in the filename. Windows explorer gives me a error dialog. But no other application shows me this dialog. I get prompted again and again for a correct filename. Is this a bug of FF or should we mark this invalid?
I guess I found it! "*" and "?" on Windows are used as wildcards. For save page as we use the native Windows file dialog. If you put a name with * or ? in it and press enter or click save you start a search for this files in the current directory and only the located files are displayed (filter function). Test it: Make sure you have a file name.html in it. Now do a save as to this folder. Change the name for the new file to name.htm? and press enter. Now you see the file in the upper pane of the dialog. "?" stands for a single character or nothing and "*" for any number of chars. This is by design of Windows. So it is IMHO invalid.
You're right. It's problem of Windows.
=> INVALID as result of the discussion.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.