-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Conversation
Great! It is passing tests now. Some things to change:
<target host="media-mmdb.nationalgeographic.com" />
<test url="http://media-mmdb.nationalgeographic.com/static-media/img/favicon.ico" />
|
I've implemented most of the changes, but I'm running into some trouble with getting a test url for This might just be lack of experience on my part, but I'm not sure how to get a test URL for it either, since the URL by itself results in the |
Yes, finding test urls can be tricky. Usually, you can find them with your search engine. According to the name, it must be a cdn for A last thing that can sometimes help for cdn is visiting reddit. Still nothing. If we can't find a working test url, it is safer to remove the target and add it to the top comment under |
As you have noticed, it is easy to miss the mixed content on |
|
||
<!-- Tracking cookies: | ||
--> | ||
<securecookie host="^\.nationalgeographic\.com$" name="^(?:gpv_p\d+|s_\w+|__utm)\w$" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While we are at it, could you use a capturing group in the regex?
--> | ||
<ruleset name="National Geographic"> | ||
|
||
<target host="www.nationalgeographic.com" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add
<target host="nationalgeographic.com" />
<rule from="^http://nationalgeographic.com/"
to="https://www.nationalgeographic.com/" />
with a note in the top comment explaining that ^
times out over https
.
I'm not totally sure if what I did with the regex is correct, but I've implemented the other changes. EDIT: I'm guessing I need an escape character before the period. I'll try it with: I'm not totally sure what the other error is about, though: EDIT2: |
|
||
Redirect to HTTP: | ||
|
||
- adventureblog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have Invalid certificate
for this one.
|
||
- adventureblog | ||
- channel | ||
- help |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Invalid certificate
for me.
- adventureblog | ||
- channel | ||
- help | ||
- yourshot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works for me over https
- channel | ||
- help | ||
- yourshot | ||
- yourshotblog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
invalid certificate
|
||
- archive (Example: https://archive.nationalgeographic.com/?iid=133596#folio=CV1) | ||
- intelligenttravel | ||
- news |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't find any page with mixed content for news
. Do you have an example?
- intelligenttravel | ||
- news | ||
- press | ||
- video |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't find any mixed content, do you have an example?
(Note that we only care about active mixed content)
I don't have the same results as you for some subdomains listed in the top comment, can you double check? |
Sorry for the delay. I ran through those subdomains again and most of it was consistent with what you said, so I made the changes. Also, I wasn't sure of the difference between active and passive mixed content at first, so I fixed that as well. I couldn't get |
@episkorowski, thank you and sorry for the hassle. As I said, this is a very tricky ruleset. To be honest, I have been wanting to update it myself for a long time but hadn't found the time yet. I knew it was going to be tedious. @jeremyn @J0WI, feel free to add some comments but this should be about ready to merge (follow up of #14164). |
This means that the target redirects to plain |
Ah, okay. I'll correct that real quick. |
Thanks @Bisaloo for the comments. |
I added the rules I missed. I also added the sections for CDN buckets and the mixed content on
I wasn't sure what to do with |
For |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still missing images
and media-channel
.
<ruleset name="National Geographic"> | ||
|
||
<target host="www.nationalgeographic.com" /> | ||
<target host="nationalgeographic.com" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be the first target.
I've added I'm not totally sure what to do with |
There is only
Since http and https doesn't behave the same way I would add a new category for it. |
…id certs sections
Added a category for Reordered targets and subdomains in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
#12901
@Bisaloo New PR. Added a barebones list of subdomains and merged
National_Geographic.com-problematic.xml
into the primary ruleset in order to use the simplified regex.Ruleset no longer uses www-s, so the website should load now.