Closed
Bug 95977
Opened 23 years ago
Closed 15 years ago
Startup with missing -url argument attempts to access site "1"
Categories
(Core Graveyard :: Cmd-line Features, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: jones, Unassigned)
Details
(Keywords: helpwanted)
Attachments
(1 file)
730 bytes,
patch
|
Details | Diff | Splinter Review |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.3) Gecko/20010801 BuildID: 2001080110 If I Run: 'F:\mozilla.org\Mozilla\mozilla.exe -url', the browser opens searching for a nonexistent site "1". OTOH, if I Run 'F:\mozilla.org\Mozilla\mozilla.exe -url ""', I get a blank page, as expected. Reproducible: Always Steps to Reproduce: 1. Run: 'F:\mozilla.org\Mozilla\mozilla.exe -url' Actual Results: Browser attempts to load a URL of "1" Expected Results: 'Missing argument diagnostic, or blank page"
Comment 1•23 years ago
|
||
Also occurs Win2k 20010817
Comment 2•23 years ago
|
||
My vote is for about:blank. A third option though would be to load the homepage.
URL: http://<none>
Comment 3•23 years ago
|
||
Now WFM Win2k 20010905 (I get the same results as without any arguments) Reporter: Please download a more recent version and see if the problem still exists for you.
Reporter | ||
Comment 4•23 years ago
|
||
I'm downloading the nightly build now. Is it sufficient to back up C:\Windows\Application Data\Mozilla\Profiles\<myname>\ce8o6fvh.slt in order to preserve my personal data? Should the status be changed to ASSIGNED?
Comment 5•23 years ago
|
||
No it shouldn't be assigned, but it should be NEW since I confirmed it a while ago as did david illsley. (Assigned is when the engineer looks at it and agrees that they are the right person to fix it). I still see this on Linux (fresh CVS pull [0905] ) so moving to OS->All. ->XP Command Line
Assignee: pchen → vishy
Status: UNCONFIRMED → NEW
Component: XP Apps → XP Apps: Cmd-line Features
Ever confirmed: true
OS: Windows 98 → All
Reporter | ||
Comment 7•23 years ago
|
||
Build 2001090603 exhibits the problem, loud and clear.
Comment 8•23 years ago
|
||
resolving as wontfix, anyone who feels strongly about it is welcome to fix it.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
Comment 9•23 years ago
|
||
This is definitely a bug and should not be marked wontfix. If there is a patch it will be accepted. trudelle: if you don't intend to fix this yourself, then assign it to nobody and set helpwanted.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Comment 10•23 years ago
|
||
Sure it is a defect, what else could be marked wontfix? I just prefer to resolve it as such to keep it distinct from other bugs that I am asking for help to fix. Feel free reassign it if you disagree.
Comment 11•23 years ago
|
||
resolving again, please do not reopen this unlees you reassign it.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → WONTFIX
Comment 12•23 years ago
|
||
WONTFIX is for "it's a feature, not a bug". If you want to keep it separate, use nobody@mozilla.org and dont add the helpwanted keyword.
Comment 13•23 years ago
|
||
> trudelle: if you don't intend to fix this yourself, then assign it to nobody and > set helpwanted. The reason you should not resolve this WONTFIX is the same reasons for which LATER and REMIND are considered harmful. See bug 35839 and bug 13534 for the full list of reasons. RE-OPENING!!! Please do not resolve this until it is FIXED!!!
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Comment 14•23 years ago
|
||
Setting to nobody + helpwanted keyword. Anyone is free to claim it.
Comment 15•23 years ago
|
||
From A Bug's Life: "WONTFIX The problem described is a bug which will never be fixed." This is a valid Bugzilla resolution, which is currently in use on over 2,500 bugs, including dozens assigned to mozilla.org folks like asa,dmose,leaf,gerv and scc.
Comment 16•22 years ago
|
||
changes URL of "1" to "about:blank".
Comment 17•21 years ago
|
||
related? bug 166872 worksforme moz 2003032416/win98
Updated•21 years ago
|
Attachment #76935 -
Flags: review?(caillon)
Comment 18•21 years ago
|
||
So is there a way to ask the cmdlineservice whether params were passed to the cmdline arg? I am assuming that the "1" is sort of a truth thing which says that the requested value (in this case "-url") was explicitly set on the cmdline. Is there a better way to do this? There may not be, but I am unsure. Boris?
Comment 19•21 years ago
|
||
The "1" comes from http://lxr.mozilla.org/seamonkey/source/xpfe/appshell/src/nsCommandLineService.cpp#136 One way to improve on this setup would be to use an exception or boolean out param (I prefer the latter) to indicate whether the option was set/used at all. Then the string return value only needs to be set if the option was used and it can be set to whatever actually came after the option, if anything... There are probably other ways to do this that involve larger changes to nsICmdLineService (not necessarily a bad idea).
Updated•21 years ago
|
Summary: Startup with missing -url argument attemtpts to access site "1" → Startup with missing -url argument attempts to access site "1"
Comment 20•21 years ago
|
||
Comment on attachment 76935 [details] [diff] [review] patch I tend to agree with bz here. Actually, to be honest, I"m not even sure I'm really the best person to be reviewing this so I will recuse myself from the duty. I'm not sure who a good person to ask would be...
Attachment #76935 -
Flags: review?(caillon)
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 23 years ago → 15 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•