Closed
Bug 61669
Opened 24 years ago
Closed 23 years ago
Embedding Apps can't do basic auth repeatedly, due to cache [squid proxy]
Categories
(Core Graveyard :: Embedding: APIs, defect, P3)
Core Graveyard
Embedding: APIs
Tracking
(Not tracked)
VERIFIED
WORKSFORME
mozilla0.9.2
People
(Reporter: edburns, Assigned: darin.moz)
References
Details
(Whiteboard: [cache])
Hello,
My embedding app implements nsIPrompt to allow the user to provide username
and password data on a URL fetch.
If your disk cache is clear, and you visit a url with basic auth, it works
fine. However, if, at a later session, you visit the same URL, it will not
work. Disabling the cache prevents this problem.
Please re-assign to the cache person.
Updated•24 years ago
|
Assignee: valeski → gordon
Comment 1•24 years ago
|
||
-> g
*** Bug 59981 has been marked as a duplicate of this bug. ***
Here's the pref to disable the cache:
user_pref("browser.cache.disk_cache_size", 0);
Updated•24 years ago
|
QA Contact: jrgm → mdunn
Comment 4•24 years ago
|
||
Updating QA Contact
Updated•24 years ago
|
Comment 5•24 years ago
|
||
This bug seems pretty major, and blocks bug #60304 which is also pretty major.
Any chance of getting this escalated -- or at least set to a specific milestone?
Comment 6•24 years ago
|
||
Correction: Changing QA contact for the Embed API bugs to David Epstein.
QA Contact: mdunn → depstein
Ed, is this still a problem with the lastest builds. We have a new cache and
we've cleaned up the HTTP validation code quite a bit.
Whiteboard: [cache]
It doesn't authenticate at all to me. When I use the TestGtkEmbed and the
authentication dialog appears I can fill in any name/password value (even the
correct one) but the authenticated page never appears only the dialog reappears
again and again. Only the Cancel button works fine -> the authentication error
page appears.
Assignee | ||
Comment 9•23 years ago
|
||
basic auth works just fine for me using TestGtkEmbed. can you please supply
a testcase for this bug? thx!
Comment 10•23 years ago
|
||
You can try this URL:
http://poli.feld.cvut.cz/~mraz/tmp/
User: josef Password: nechvil
I'm using a squid proxy to connect to Internet (I have no other possibility).
I've retested it with my own trunk build from 2001-06-12 and it still doesn't work.
Assignee | ||
Comment 11•23 years ago
|
||
OK.. using a Netscape Proxy, I'm not having any trouble authenticating with the
testcase you provided. Time to try squid.
Assignee | ||
Comment 13•23 years ago
|
||
OK.. once i setup a squid proxy i was able to duplicate this bug.
investigating...
Assignee | ||
Comment 14•23 years ago
|
||
oops... i take that back... it seems to work just fine for me.
i previously mistyped the password :P
so, i'm not sure how to reproduce this bug.
Tom: could you get a packet trace? (using a tool like ngrep --
http://ngrep.sourceforge.net), and if you have a debug build could you try
getting a HTTP log by setting the NSPR_LOG_MODULES=nsHttp:5 and NSPR_LOG_FILE=log
environment variables? if you could generate either of these it would greatly
help in tracking down the cause of this problem. thanks!
Summary: Embedding Apps can't do basic auth repeatedly, due to cache → Embedding Apps can't do basic auth repeatedly, due to cache [squid proxy]
Comment 15•23 years ago
|
||
So I've made more tests and it seems that with the M0.9.1 it doesn't work at all
no matter when using/not using proxy. But I've made fresh trunk checkout and
recompiled it and it is FIXED now! So it could be probably resolved as WFM.
Assignee | ||
Comment 16•23 years ago
|
||
marking WORKSFORME.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•