Closed
Bug 133755
Opened 23 years ago
Closed 5 years ago
username/password dialog when having favicons from password protected sites in bookmarks
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bugzilla, Unassigned)
References
(Blocks 1 open bug, )
Details
on one of my .htaccess protected sites I have a favicon.ico. The favicon.ico is
inside the .htaccess protected area.
I've added this site to the bookmark. Now when ever I open the bookmark folder
I'm prompted for a username/password! Very very bad!
http://www.mozillazine.org/forums/viewtopic.php?t=3162
describes this better:
(quote)
In one example, I go to thedomain/subdirectory (which is not protected) and
access it fine. however, phoenix automatically seeks out thedomain/favicon.ico
and prompts me for my username/password after getting the 401 forbidden response.
(/quote)
| Reporter | ||
Comment 4•22 years ago
|
||
Log into the following URL:
http://gemal.dk/browserspy/password-works.html
with:
username: test
password test
now add the page to the bookmarks and restart your browser and when you enter
your bookmarks you will be asked for a password.
As least this is true for Phoenix since it uses icons in it's bookmarks!
this is very annoying if you add such .htaccess protected favicon site to the
personal toolbar folder: everythime starting the browser the authentication
window pops-up..... maybe it is better to cache the favicon and just check if
there is a new one everytime the user access the page?
Comment 6•22 years ago
|
||
*** Bug 225095 has been marked as a duplicate of this bug. ***
I made the duplicate, so this is another confirmation of the bug.
My search query seemed reasonable at the time (icon auth bookmark), but didn't
turn up this bug.
Comment 8•21 years ago
|
||
*** Bug 228876 has been marked as a duplicate of this bug. ***
Comment 9•21 years ago
|
||
*** Bug 229459 has been marked as a duplicate of this bug. ***
Comment 10•21 years ago
|
||
*** Bug 233216 has been marked as a duplicate of this bug. ***
Comment 11•21 years ago
|
||
I also have this problem. I bookmarked the CPanel link to my webpage. I notice
that it doesn't ask me for username/pass everytime though. It only does it if:
- I open firefox
- I go to my CPanel, and log correctly
- Close firefox
- reopen firefox
- Click on Bookmarks
- Bang! asking user/pass
If I don't go to my CPanel at all during a session, nothing will be asked (And
my CPanel icon will not be there in the bookmarks (blank sheet icon))
Comment 12•21 years ago
|
||
Oops, I should test better before writing a comment. My previous comment is
exact BUT, the user/pass dialog will be asked as long as I have logged in the
previous session. Thus, if, in session 1, I go to my cpanel, clicking on
Bookmarks in session 2 will pop-up the user/pass dialog. If I click OK in this
dialog, even if I don't go to my cpanel, this dialog will popup again in session
3. However, if I click on cancel in session 3, session 4 will not ask for a
user/pass.
Comment 13•21 years ago
|
||
I am seeing the same behaviour in the same scenario as Virgil (logging into my
CPanel account).
Here is exactly what I'm seeing:
Session 1: Visit CPanel site and log in. The icon in the bookmarks menu is now
the CPanel logo.
Session 2: Go to the bookmark folder with the CPanel bookmark. An
authentication dialog will pop up. If I cancel it, the bookmark's icon will now
be blank.
Session 3: Go to the bookmark folder with the CPanel bookmark. The bookmark
will now have the generic bookmark icon. No authentication dialog will appear.
So it appears the authentication dialog only appears if you logged into the site
in question in the previous session. Otherwise, it assigns the bookmark the
generic icon and does not try to access the password protected site.
Comment 14•21 years ago
|
||
*** Bug 238792 has been marked as a duplicate of this bug. ***
Comment 15•21 years ago
|
||
Why is this Status: NEW?
Why is this Component: XP Apps rather than Bookmarks?
This is a common problem for anyone that uses a corporate intranet (assuming it
has a favicon.)
I have a bookmark in my Bookmarks toolbar that is on the corporate intranet.
Every time I open Firefox - even by clicking on a link to www.yahoo.com - I need
to authenticate against the intranet so the favicon can appear.
If I open Firefox to go to the corporate intranet, the situation is worse - I
have to authenticate twice! Once for the favicon, and once for the page.
Comment 16•21 years ago
|
||
Reassigning obsolete bugs to their respective Seamonkey owners (i.e. nobody).
If you want this fixed for Firefox, change the Product and Component accordingly
and reassign back to me.
Assignee: firefox → guifeatures
Comment 17•21 years ago
|
||
I just stumbled across this bug myself recently as well, through the exact same
case mentioned in comment #11. Very irritating-- and there seems to be no rhyme
or reason to when I'm actually asked for my site's userid/password...
Comment 18•21 years ago
|
||
*** Bug 240764 has been marked as a duplicate of this bug. ***
Comment 19•21 years ago
|
||
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040418
Changing Hardware/OS to All.
pi
OS: Windows 2000 → All
Hardware: PC → All
Comment 20•21 years ago
|
||
*** Bug 241558 has been marked as a duplicate of this bug. ***
Comment 21•21 years ago
|
||
What about when you have a public sub-directory on a site, but the top directory
is private? The browser tries to get the file, all the while causing auth
dialogs to appear for no reason. Same behavior, but it has absolutely nothing to
do with bookmarks.
Ideally though, the browser should just supress all favicon-related errors.
Comment 22•21 years ago
|
||
It does? Can you reproduce that?
Hopefully the web author would place a copy of the shortcut icon in the
publicly-accessible directory and use a <link rel="shortcut icon"
href="/public/fav.ico"> to point to the publicly accessible favicon.
If there was a <link rel="shortcut icon" href="/fav.ico"> on the
publicly-accessible directory I would expect the browser to ask me for
credentials. This would be a feature.
If there was no <link> at all I would not expect the browser to ask me for
credentials. That would be a bug.
Comment 23•21 years ago
|
||
*** Bug 242229 has been marked as a duplicate of this bug. ***
Comment 24•21 years ago
|
||
Can someone change the Component to Bookmarks?
Assignee: guifeatures → p_ch
Component: XP Apps: GUI Features → Bookmarks
QA Contact: claudius → seamonkey.bookmarks
Comment 25•21 years ago
|
||
*** Bug 242329 has been marked as a duplicate of this bug. ***
Comment 26•21 years ago
|
||
*** Bug 242618 has been marked as a duplicate of this bug. ***
Comment 27•21 years ago
|
||
*** Bug 243451 has been marked as a duplicate of this bug. ***
Comment 28•21 years ago
|
||
I searched, I promise -- thanks for marking that ^ a dupe for me. Looks like my
entry doesn't add any new info, but it does list the steps to get the bug.
Comment 29•21 years ago
|
||
*** Bug 244170 has been marked as a duplicate of this bug. ***
Comment 30•21 years ago
|
||
*** Bug 247304 has been marked as a duplicate of this bug. ***
Comment 31•21 years ago
|
||
*** Bug 249059 has been marked as a duplicate of this bug. ***
Comment 32•21 years ago
|
||
*** Bug 249762 has been marked as a duplicate of this bug. ***
Comment 33•21 years ago
|
||
There have been a couple of favicon related bugs fixed in the past few days.
Unfortunately, it seems like some of those fixes have made this bug even more
annoying. Before, when Firefox popped up the password dialog and I cancelled
it, Firefox would "forget" about the icon until I visited that page again. This
way, I could go a few sessions without seeing the problem (at least until I had
to visit that site). Now, I get the authentication popup ever single session
when I first go to the bookmark folder with that link.
Updated•21 years ago
|
Flags: blocking-aviary1.0?
Is this a firefox bug or a mozilla suite bug? (The Product here is set to
Browser, so if it's a firefox bug, this should get changed to Firefox.) For
firefox, the patch in bug 252006 should fix this issue.
Comment 35•21 years ago
|
||
It's a Mozilla suite bug, but it did also happen in Firefox. As the code is
forked, Firefox should have a separate bug, but if the patch you mention fixes
it, then there's no need. My apologies for confusing the situation...
Flags: blocking-aviary1.0?
Comment 36•21 years ago
|
||
I am using today's (2004/07/19) build of Firefox which should include your fix
for bug 252006 but I still see the issue this bug is about. I'll open a Firefox
bug if one doesn't already exist.
(In reply to comment #36)
> I am using today's (2004/07/19) build of Firefox which should include your fix
> for bug 252006 but I still see the issue this bug is about. I'll open a Firefox
> bug if one doesn't already exist.
I can't reproduce it.. please do open a new bug in Firefox/Bookmarks, with some
information on how to reproduce it. Testing with the test URL on this page
works for me (I get prompted when I first visit the bookmark, which is correct,
and the favicon updates; on subsequent browser restarts I see the favicon with
no prompt).
Comment 38•21 years ago
|
||
Looks like bug 120304 is what's causing the problem for me. I see these when
the favicon is located in a protected area AND is accessed via HTTPS. The
favicon isn't cached on HTTPS sites, so when I view the bookmark folder with
that bookmark, it tries to grab the bookmark icon and gets the authentication
dialog.
Comment 39•21 years ago
|
||
*** Bug 256724 has been marked as a duplicate of this bug. ***
Comment 40•21 years ago
|
||
*** Bug 261313 has been marked as a duplicate of this bug. ***
Comment 41•21 years ago
|
||
Got a similar situation here.
http://example.com/ is password protected
http://example.com/users/ isn't, we use the apache directive "Allow from all",
on every page load firefox and seamonkey show a HTTP authentication dialog
trying to get the favicon.
In the end I added <Files favicon.ico>Allow from all</Files> to resolve this but
would prefer if something could be done at the application level?
Couldn't the HTTP response code be checked and if its not 200/304 then go on the
assumption that no icon exists.
Updated•20 years ago
|
Product: Browser → Seamonkey
Comment 42•20 years ago
|
||
Note: some of the dupes here (bug 242229 & bug 261313) are about inline
protected icons, not bookmarks. Either they need to be redirected to a separate
bug, or the eventual patch should handle code-401 icons in general, not just a
bookmark-specific dodge.
Comment 44•13 years ago
|
||
nsIFaviconService is part of Places I think. Moving.
Component: Bookmarks & History → Places
Product: SeaMonkey → Toolkit
Comment 45•10 years ago
|
||
bug still exists, tries to refresh favicon on every tab and bookmark at startup? at least make it happy to use the cached favicon.
Comment 46•8 years ago
|
||
bookmarks only use locally cached icons, if this still happens it's something else in browser.
Component: Places → General
Product: Toolkit → Firefox
Comment 47•5 years ago
|
||
Mossop, do you know if this is still an issue e.g. after bug 1453751?
Depends on: 1453751
Flags: needinfo?(dtownsend)
Comment 48•5 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #47)
Mossop, do you know if this is still an issue e.g. after bug 1453751?
As Marco says all favicons are cached locally for use in bookmarks etc. so there shouldn't be any way for the bookmark menus to trigger an auth dialog at this point.
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(dtownsend)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•