Browse Source

Change QUICK_IMAGES PAC wildcard, fixes IE6 passing frame requests through

RichardG867 3 years ago
parent
commit
089d845a94
1 changed files with 1 additions and 1 deletions
  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'''