Explorar o código

Change QUICK_IMAGES PAC wildcard, fixes IE6 passing frame requests through

RichardG867 %!s(int64=3) %!d(string=hai) anos
pai
achega
089d845a94
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      waybackproxy.py

+ 1 - 1
waybackproxy.py

@@ -105,7 +105,7 @@ class Handler(socketserver.BaseRequestHandler):
 				pac += '''function FindProxyForURL(url, host)\r\n'''
 				pac += '''{\r\n'''
 				if not self.shared_state.availability_cache:
-					pac += '''	if (shExpMatch(url, "http://web.archive.org/web/*") && !shExpMatch(url, "http://web.archive.org/web/??????????????if_/*"))\r\n'''
+					pac += '''	if (shExpMatch(url, "http://web.archive.org/web/*") && !shExpMatch(url, "http://web.archive.org/web/*if_/*"))\r\n'''
 					pac += '''	{\r\n'''
 					pac += '''		return "DIRECT";\r\n'''
 					pac += '''	}\r\n'''