Skip to content

Commit dd7035c

Browse files
committed
Fix and turn back on ruleset coverage testing.
1 parent 7a356b5 commit dd7035c

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ script:
1919
- ./test.sh
2020
# Temporarily disable the ruleset coverage requirement while we are enabling
2121
# and disabling large chunks of URLs.
22-
#- ./test-ruleset-coverage.sh
22+
./test-ruleset-coverage.sh

src/chrome/content/rules/Blender.org.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@
3232
<!-- Secured by server: -->
3333
<!--securecookie host="^\.developer\.blender\.org$" name="^phsid$" /-->
3434

35-
<rule from="^http://((www\.)?developer|projects)\.blender\.org/"
36-
to="https://$1.blender.org/" />
35+
<rule from="^http://(www\.)?(developer|projects)\.blender\.org/"
36+
to="https://$2.blender.org/" />
3737

3838
<rule from="^http://(www\.)?blender\.org/"
3939
to="https://www.blender.org/" />
40+
4041
</ruleset>

src/chrome/content/rules/Cloudfront.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
and this is a generalised precaution from turntable.fm
1515
(rewriting this file seems to break cross origin in flash)
1616
-->
17-
<exclusion pattern="^http://(?:[^/:@\.]+)\.cloudfront\.net/crossdomain\.xml" />
17+
<exclusion pattern="^http://(\w+)\.cloudfront\.net/crossdomain\.xml" />
1818
<test url="http://d1h9a8s8eodvjz.cloudfront.net/crossdomain.xml" />
19+
<test url="http://d1ej19d7kwigfi.cloudfront.net/crossdomain.xml" />
1920

2021
<!-- See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-creating-signed-url-custom-policy.html
2122
Policies contain the protocol, so a signature for http will not work for https

0 commit comments

Comments
 (0)