fix use of url proxy access pattern

pattern of transparent was used.
pull/1/head
reger 11 years ago
parent 280c4a3ac1
commit b931bf6b48

@ -333,7 +333,7 @@ public class YaCyProxyServlet extends ProxyServlet implements Servlet {
private boolean proxyippatternmatch(final String key) {
// the cfgippattern is a comma-separated list of patterns
// each pattern may contain one wildcard-character '*' which matches anything
final String cfgippattern = Switchboard.getSwitchboard().getConfig("proxyClient", "*");
final String cfgippattern = Switchboard.getSwitchboard().getConfig("proxyURL.access", "*");
if (cfgippattern.equals("*")) {
return true;
}

Loading…
Cancel
Save