Closed
Bug 91630
Opened 24 years ago
Closed 24 years ago
PAC: "PROXY hostname" should assume a default port
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
People
(Reporter: tingley, Assigned: srgchrpv)
References
Details
(Keywords: relnote)
Attachments
(1 file)
941 bytes,
patch
|
Details | Diff | Splinter Review |
Comments from bug 79893:
------- Additional Comments From Andrew Smith 2001-07-20 01:35 -------
Our company's PAC has *never* worked with Mozilla, and I've only just worked out
why. It basically looks like this:
function FindProxyForURL(url, host)
{
if(isPlainHostName(host))
return "DIRECT";
else if(shExpMatch(host, "*.special-internal.com"))
return "PROXY webproxy";
else if(shExpMatch(host, "*.normal-internal.com"))
return "DIRECT";
else
return "PROXY webproxy";
}
Mozilla just spins every time it should be hiting the proxy. But it looks fine,
and works under NN4 and IE4/5. Only after reading the PAC spec linked to in bug
91121 did I work out that the "PROXY webproxy" should strictly speaking be
"PROXY webproxy:80" even though 80 is the default HTTP port. I've made this
change to a local copy and it fixes the problem under 0.9.2.
So, either this requires a new bug for backwards/sidewards compatability, or it
needs documenting so the rest of the world can catch up. I don't think the
latter will make Mozilla many friends in the corporate world. :)
Reporter | ||
Comment 1•24 years ago
|
||
The PAC "spec" at
http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html
claims to require "PROXY host:port", but reporter is claiming 4xp so I'm marking
it that way.
If this is something we should support I can roll it into the patch for bug
84798, which is touching the same line of code that causes this problem.
+ RELNOTE:
"Using a "PROXY" directives had a default port of 80" in Communicator. This was
incorrect. Mozilla requires you specfy a port (e.g. PROXY servername:8080).
Keywords: relnote
Reporter | ||
Comment 5•24 years ago
|
||
Reporter | ||
Comment 6•24 years ago
|
||
*sigh*
Every morning I wake and want to mark this WONTFIX, and then I see that '4xp'
staring back at me...
Since we've got a second report of this now, I cooked up a simple fix.
Its a lesson to anyone that ships software while pretending they don't have to
own the behavior as a clearly described document.
Reporter | ||
Comment 8•24 years ago
|
||
Postponing review-seeking until Serge finishes hacking up this same code for bug
84798.
Depends on: 84798
Reporter | ||
Comment 9•24 years ago
|
||
This was included as part of basic's fix for bug 105335.
Comment 10•23 years ago
|
||
*** Bug 121038 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•