Closed Bug 179672 Opened 22 years ago Closed 17 years ago

Keychain on 127.0.0.1 server remembers localhost name, not address

Categories

(Camino Graveyard :: History, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME
Camino1.6

People

(Reporter: andrew, Assigned: mikepinkerton)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.1) Gecko/20021104 Chimera/0.6 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.1) Gecko/20021104 Chimera/0.6 This one is not likely to crop up too many times, due to the uncommon circumstances to find it. I use my powerbook for designing my website, hence I call http://127.0.0.1 to test the code. The problem comes when I call a file that is password protected, eg by an .htaccess file. When the page is called for the first time, Chimera remembers (through the keychain?) the location as somecomputer.local or if the computer has a domain name entry somecomputer.company.com Fine, no problem. But in my case, my computer moves location frequently, and hence it's fully qualified host/domain name changes with it - if I try to serve up that same password-protected localhost page again, but from a different location, I get the error "the host somecomputer.company.com cannot be found". Chimera should be storing the address as 127.0.0.1 or localhost or something, not the hostname. Reproducible: Always Steps to Reproduce: 1. Call password protected file on 127.0.0.1 (save password to keychain) 2. Move network location, or give your computer a different name 3. Call the same passwd-protected file on 127.0.0.1 Actual Results: -> host not found (even though the file is on localhost) Expected Results: to find localhost!
Andy, how do other browsers behave in this situation, such as Mozilla and IE?
I do very similar things, in that I do php/mysql/apache web development, and I use a variety of dhcp, ppp and static addessses. (I do not use .htaccess, but I do use HTTP_AUTH to control database access). Chimera stores the url address I enter as the bookmark: page http://127.0.0.1/phpmyadmin/ is stored as such. page http://[edit].uchicago.edu/phpmyadmin/ is stored as such. Any 120.0.0.1 bookmark is robust to name changes which occur with moving locations. 2002111504 MAK
->pinkerton
Assignee: sfraser → pinkerton
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: HTTP_AUTH on 127.0.0.1 server remembers localhost name, not address → Keychain on 127.0.0.1 server remembers localhost name, not address
Target Milestone: --- → Chimera1.1
Keychain bugs -> 1.2.
QA Contact: winnie → history
Target Milestone: Camino1.1 → Camino1.2
Passwords are stored by the domain visited, with no attempt to make guesses about what domains will continue to be equivalent or resolve to a specific IP address, as down that road lies madness. If you load 127.0.0.1, then it will be stored and retrieved for 127.0.0.1, so this is WFM.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.