Closed
Bug 1315683
Opened 9 years ago
Closed 9 years ago
URL inside FindProxyForURL function, Pacscript
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: shulgamichail, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36
Steps to reproduce:
Create and apply following PACSCRIPT example - function isYouTubePage(url, host){ alert('PAC INSDIE ');alert(host);alert(url);return url.indexOf('https://www.youtube.com/watch?v=x7fRsbbD6T8') !== -1;}
function FindProxyForURL(url, host) {if(isYouTubePage(url, host)) { return 'PROXY 64.251.10.192:3131';}else{ return 'DIRECT';}}
Actual results:
URL inside FindProxyForURL function is 'cutted', for example it https://youtube.com instead of https://www.youtube.com/watch?v=SR6iYWJxHqs. Browser console screenshot https://yadi.sk/i/fRBCxlgJyDvuP
Expected results:
In FF 49.0.2 it is full URL, not only domain name - https://yadi.sk/i/2pGi06_JyDva3
It's due to bug 1255474, for security reasons.
Blocks: CVE-2017-5384
Component: Untriaged → Networking
Product: Firefox → Core
Version: 52 Branch → 51 Branch
Comment 2•9 years ago
|
||
yep - the pac script isn't trusted to see the full path for https, just the origin.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•