Skip to content

Commit 3ca63bd

Browse files
committed
Fixed Chromium HSTS preload list URL
Signed-off-by: Yan <yan@mit.edu>
1 parent 0c78534 commit 3ca63bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/chromium-preloads.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
# preload list (in the from-preloads/ directory)
55

66
import urllib2, re, glob, os
7-
preloads = urllib2.urlopen("https://src.chromium.org/viewvc/chrome/trunk/src/net/base/transport_security_state_static.h?content-type=text%2Fplain").read()
7+
preloads = urllib2.urlopen("https://src.chromium.org/viewvc/chrome/trunk/src/net/http/transport_security_state_static.h?content-type=text%2Fplain").read()
88

99
def escape(s):
1010
return re.sub("\.", "\\.", s)
1111

1212
def make_rule(name, hosts):
1313
output = """<!-- This rule was automatically generated based on an HSTS
1414
preload rule in the Chromium browser. See
15-
https://src.chromium.org/viewvc/chrome/trunk/src/net/base/transport_security_state_static.h
15+
https://src.chromium.org/viewvc/chrome/trunk/src/net/http/transport_security_state_static.h
1616
for the list of preloads. Sites are added to the Chromium HSTS
1717
preload list on request from their administrators, so HTTPS should
1818
work properly everywhere on this site.

0 commit comments

Comments
 (0)