Closed Bug 216407 Opened 21 years ago Closed 21 years ago

automatic proxy configuration (PAC) does not work

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird0.4

People

(Reporter: wgianopoulos, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030816 Mozilla Firebird/0.6.1+
Build Identifier: Mozilla Thunderbird 0.2a (20030813)

To quote from the Thuderbird project To Do List "SOCKS support works in
thunderbird but http and ssl proxies don't seem to be working. Need to figure
out why."  I have found this NOT to be the case.  If in Tools -> Options ->
advanced, if I uncheck the "Block loading of remote images in mail messages"
box, and configure a Manual HTTP proxy, I can load remote images via the proxy
just fine.  What does not appear to work at all is to specify a proxy pac file
via the "Automatic proxy configuration" option.  I am specifying the same URL
for automatic configuration that works with Mozilla Firebird, so I don;t think
it is an issue with the pac file.

Reproducible: Always

Steps to Reproduce:
1. configure thunderbird to use an automatic proxy configuration script
2. Uncheck the "Block loading of remote images in mail messages" box.
3. open an e-mail conatining remote iamges that you must connect via the proxy
to load

Actual Results:  
Thunderbird tried to connect directly and failed to load the images

Expected Results:  
Thunderbird should have properly executed the functions from the proxy pac file
and determined that the http proxy needed to be used to access the remote host
and therfore been able to load the images.
William, if you copy <firebird>\components\nsProxyAutoConfig.js to
<thunderbird>\components\nsProxyAutoConfig.js does pac work?
Well that is obviously a portion of the problem, but adding that file to
<thunderbird>\Components did not resolve the issue. All images end up drawing a
box with a red circle in them.  :-(

Changing back to manual proxy makes the circle turn to green and then the images
load.
It appears that although thunderbird has a prefernce for automatic proxy
configuration, there is no code present to do anything with it.  autoproxy.xpt
is absent as well.
QA Contact: asa
Hello,

I don't know if this is related, but Mozilla 1.5 RC 2 broke the Automatic Proxy
Configuration option.  Maybe some code from Thunderbird snuck in?  

Anyway, I am back to using Mozilla 1.5 RC 1 to test until this bug gets fixed.

Thanks.
William, when you copied nsProxyAutoConfig.js into \components did you delete
the file called compreg.dat and then restart?

If not, can you copy the file over then delete this file and relaunch thunderbird.
Status: NEW → ASSIGNED
Target Milestone: --- → Thunderbird0.4
Hey!  that worked!  Copying the .js file and deleting compreg.dat does fix the
problem.  So I guess if I had more of a clue how this worked, I would have
deleted that and let it rebuild the first time.
excellent. marking fix since I checked this change into the trunk last night. 
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Was this the UI or the backend change?
QA Contact: benc
You need to log in before you can comment on or make changes to this bug.