Closed
Bug 61669
Opened 23 years ago
Closed 22 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•23 years ago
|
Assignee: valeski → gordon
Comment 1•23 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•23 years ago
|
QA Contact: jrgm → mdunn
Comment 4•23 years ago
|
||
Updating QA Contact
Updated•23 years ago
|
Comment 5•23 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•22 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•22 years ago
|
||
basic auth works just fine for me using TestGtkEmbed. can you please supply a testcase for this bug? thx!
Comment 10•22 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•22 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•22 years ago
|
||
OK.. once i setup a squid proxy i was able to duplicate this bug. investigating...
Assignee | ||
Comment 14•22 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•22 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•22 years ago
|
||
marking WORKSFORME.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•