Closed
Bug 251301
Opened 20 years ago
Closed 19 years ago
Automatic Proxy Configuration does not work
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: MZMailslot, Assigned: bugzilla)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2
If I use Automatic Proxy configuration (i.e. a PAC file) a message appears in
the Javascript console and the proxy server is not used.
Reproducible: Always
Steps to Reproduce:
1. Create a Proxy PAC file
2. Use Options/General/Connection Settings/Automatic Proxy configuration URL:
3. Enter the name of the PAC file
4. Reload the file
Actual Results:
Javascript Console Error is as follows:
Error: [Exception... "Component returned failure code: 0x804b0012
[nsIIOService.newChannelFromURI]" nsresult: "0x804b0012 (<unknown>)" location:
"JS frame :: file:///C:/PROGRA~1/MOZILL~2/components/nsProxyAutoConfig.js ::
anonymous :: line 84" data: no]
Source File: file:///C:/PROGRA~1/MOZILL~2/components/nsProxyAutoConfig.js
Line: 84
Expected Results:
Used the proxy server.
The same proxy file did work in version "Mozilla/5.0 (Windows; U; Windows NT
5.0; en-US; rv:1.6b) Gecko/20031203 Firebird/0.7+ " which I replaced with 0.9.2.
I tried an even simpler proxy file:
function FindProxyForURL(url, host) { return "PROXY 127.0.0.1:8082" }
with the same result. Also I have 0.7 release version installed on an Windows XP
machine, this also fails with the same message.
The intention of my proxy file is to send requests for specific web sites
through a proxy for security purposes, because of the failure the sites are
displayed anyway defeating the security purpose. In other words I think this
should fail altogether and not display the page.
Reporter | ||
Comment 1•20 years ago
|
||
I found that this does work, I was using a file specified like this:
c:\directory\proxy.pac
Instead of as a URL like this:
file:///c:/directory/proxy.pac
Better documentation, like an example would help, or a message saying it could
not find the proxy file rather than an obscure message in the Javascript console.
It works in all 0.7, 0.9.2, 0.9.3 and 1.0PR
Severity: major → minor
Comment 2•19 years ago
|
||
This is an automated message, with ID "auto-resolve01".
This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.
While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.
If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.
The latest beta releases can be obtained from:
Firefox: http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey: http://www.mozilla.org/projects/seamonkey/
Reporter | ||
Comment 3•19 years ago
|
||
As of Firefox 1.06 (Windows) a native Windows format path is converted to a URL,
which works well. If the file cannot be found a failure code reflecting that
appears in the Javascript console.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•