Closed
Bug 345828
Opened 19 years ago
Closed 17 years ago
"WARNING: malformed hostname" when using keyword bookmark in address bar
Categories
(Firefox :: Bookmarks & History, defect)
Firefox
Bookmarks & History
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
Details
I'm using a Mac trunk debug build.
Steps to reproduce:
1. Type 'foo bar' into the address bar.
Result: a warning appears in the console as I type *each* letter of 'bar':
WARNING: malformed hostname: file netwerk/base/src/nsURLParsers.cpp, line 580
Expected: no noise on the console.
Comment 1•19 years ago
|
||
Here's the stack to the warning:
necko.dll!nsAuthURLParser::ParseServerInfo() Line 580 C++
necko.dll!nsAuthURLParser::ParseAuthority() Line 518 C++
necko.dll!nsStandardURL::ParseURL() Line 735 C++
necko.dll!nsStandardURL::SetSpec() Line 1131 C++
necko.dll!nsStandardURL::Init() Line 2587 C++
necko.dll!NewURI() Line 132 C++
necko.dll!nsHttpHandler::NewURI() Line 1422 C++
necko.dll!nsIOService::NewURI() Line 484 C++
places.dll!NS_NewURI() Line 123 C++
places.dll!NormalizeAutocompleteInput() Line 683 C++
places.dll!nsNavHistory::AutoCompleteFullHistorySearch() Line 426 C++
places.dll!nsNavHistory::StartSearch() Line 335 C++
So this is a places bug.
Component: Networking → Places
OS: Mac OS X 10.4 → All
Product: Core → Firefox
QA Contact: networking → places
Hardware: Macintosh → All
Comment 2•19 years ago
|
||
(In reply to comment #1)
> So this is a places bug.
... unless the idea is that ParseServerInfo (called by nsIIOService::newURI) shouldn't warn for malformed URIs. Jesse, what do you think?
| Reporter | ||
Comment 3•19 years ago
|
||
That's roughly what I was thinking when I filed it on Networking. Fixing this might require removing the warning from networking code, or providing a way to avoid the warning (such as a new function that doesn't warn).
Updated•18 years ago
|
Whiteboard: CLOSEME 11/04 → CLOSEME 11/13
Comment 5•17 years ago
|
||
can't reproduce
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Updated•17 years ago
|
Whiteboard: CLOSEME 11/13
| Reporter | ||
Comment 6•17 years ago
|
||
I can't reproduce this any more either.
Status: RESOLVED → VERIFIED
Comment 7•16 years ago
|
||
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".
In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body contains places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.
Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.
Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•