Closed Bug 58141 Opened 24 years ago Closed 21 years ago

string w/ spaces was sent to DNS, then Domain Guessing

Categories

(SeaMonkey :: Location Bar, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Future

People

(Reporter: mlei2, Assigned: hewitt)

References

()

Details

(Keywords: verifyme)

Attachments

(1 file)

In Netscape 4.x, typing "go mozilla browser" would use the search engine specified in preferences to run a search on "mozilla browser." This doesn't work in Mozilla, you must type "mozilla" in the URL box and click search. Steps to reproduce: type "go mozilla browser" in the URL box. Expected result: A search is run on "mozilla browser." Actual result: DNS lookup on "www.go mozilla browser.com" results, and brings up an error. This is 4xp. Build 2000101908 windows and linux.
Keywords: 4xp
confirmed, ->xpapps, me
Assignee: gagan → blakeross
Status: UNCONFIRMED → NEW
Component: Networking → XP Apps: GUI Features
Ever confirmed: true
QA Contact: tever → sairuh
QA Contact: sairuh → claudius
need to figure out what's going on
Status: NEW → ASSIGNED
Priority: P3 → P1
Target Milestone: --- → mozilla0.9
OK, good news. This is just a problem with the pref itself, not the keyword protocol handling.
Wait. There isn't even a problem here. Turn on Internet Keywords in your Smart Browsing prefs and you're good to go. Marking INVALID, but please reopen if you think internet keywords should be on by default.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
More spam... I think they should be. Reopening this bug to make internet keywords be on by default, but making this lower priority.
Status: RESOLVED → REOPENED
Keywords: 4xp
Priority: P1 → P3
Resolution: INVALID → ---
Summary: "go keywords" in address/url box should start search → Internet keywords should be on by default
Target Milestone: mozilla0.9 → mozilla1.0
Agreed. Also, the "More information" button doesn't work, it just takes you to mozilla.org . Should that be a separate bug? (or is one already filed for it) "Internet Keywords" is a term that needs to be explained better in the dialog. It only says what it can do ("enables fast access to services such as stock quotes, search" etc.) but not how to do it ("go keyword"). In fact, I don't know what other keywords there are besides "go." Marking 4xp again because this functionality is on by default in NS 4.x. Should this be relnoted for the next milestone?
Keywords: 4xp
Status: REOPENED → ASSIGNED
cc jag/alec for r/sr of this monster
yay! I always wondered why this wasn't on in mozilla builds...sr=alecf
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
+verifyme, qa to me. From looking at this, the pref was off, and it was a DNS problem, so I'm taking it. I'll tackle verification when I return. NOTE: IK is off by default now (see bug 100412). The documentation problem has been fixed with an interim document, and I've got an even better version in the cooker, see bug Bug 63317.
Keywords: verifyme
Summary: Internet keywords should be on by default → DNS: internet keywords was sent to resolver
REOPEN: Hmm, if you turn internet keywords off, the problem persists. Anyone want to describe what the behavior should be if IK==OFF and someone types in a space-delimited string?
Status: RESOLVED → REOPENED
Component: XP Apps: GUI Features → Networking
Resolution: FIXED → ---
Target Milestone: mozilla1.0 → Future
I think leading and trailing spaces should be stripped. (to make c&p easier, i.e. after selecting whole line.) and whatever's left be parsed as URL. IMHO, if there appears the "Search [your search engine] for..." as you type, there's no need for forcing "internet keywords" on user who deliberately turned them off. My options: Behavior 1: Display requester "Invalid URL. Illegal characters used in URL. [Try anyway] [Cancel] [Search using Internet Keywords]" Behavior 2: Convert spaces to %20 and go on with parsing as URL. Behavior 3. Treat separate "words" as separate URLs to be opened in different tabs/windows. In one hand, would be neat to open several windows at once this way, but in the other, if someone accidentially pastes a screenful of text into URL field - ouch! Put some limits? Behavior 4: (current) Convert spaces to dots, add www and com and parse as url.
-> URL bar This can probably marked fixed... 1- a change in URL bar recently made searches for "cats and dogs" error now, w/ invalid protocol, if IK is off. I don't know which bug made that change, so I can't dupe of mark fixed myself. 2- I haven't checked how this works in non-URL bar stuff like links, but I will eventually.
Assignee: blaker → hewitt
Status: REOPENED → NEW
Component: Networking → URL Bar
URL bar and docshell have fixes that cause this to error as an invalid protocol. I don't know which checkin fixed this, so I'm leaving it to the experts.
Summary: DNS: internet keywords was sent to resolver → string w/ spaces was sent to DNS, then Domain Guessing
If Internet Keywords is off, strings w/ spaces now error, which is the correct behavior.
Status: NEW → RESOLVED
Closed: 24 years ago21 years ago
Resolution: --- → FIXED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: