Class SafePacProxySelector
- java.lang.Object
-
- java.net.ProxySelector
-
- com.github.markusbernhardt.proxy.selector.pac.PacProxySelector
-
- com.github.markusbernhardt.proxy.selector.pac.SafePacProxySelector
-
public class SafePacProxySelector extends PacProxySelector
SafePacProxySelectorstrips sensitive parts of the URI provided for selection for security reasons. CVE-2016-5134
-
-
Constructor Summary
Constructors Constructor Description SafePacProxySelector(PacScriptSource pacSource)Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static URIsanitizeURI(URI uri)List<Proxy>select(URI uri)select-
Methods inherited from class com.github.markusbernhardt.proxy.selector.pac.PacProxySelector
connectFailed, isEnabled, setEnabled
-
Methods inherited from class java.net.ProxySelector
getDefault, of, setDefault
-
-
-
-
Constructor Detail
-
SafePacProxySelector
public SafePacProxySelector(PacScriptSource pacSource)
Constructor- Parameters:
pacSource- the source for the PAC file.
-
-
Method Detail
-
select
public List<Proxy> select(URI uri)
Description copied from class:PacProxySelectorselect- Overrides:
selectin classPacProxySelector- See Also:
ProxySelector.select(java.net.URI)
-
-