This repository was archived by the owner on Nov 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Create newtalk.tw.xml #7452
Merged
Merged
Create newtalk.tw.xml #7452
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
8fa2e1c
Create newtalk.tw.xml
ivysrono a73dea9
Update newtalk.tw.xml
ivysrono 9957655
Update newtalk.tw.xml
ivysrono 46f7069
Update newtalk.tw.xml
ivysrono 9e05b33
Update newtalk.tw.xml
ivysrono 652143f
Update newtalk.tw.xml
ivysrono 2fd98f6
Update newtalk.tw.xml
ivysrono 4d7533a
Update newtalk.tw.xml
ivysrono 259df83
Update newtalk.tw.xml
ivysrono e89c665
Update newtalk.tw.xml
ivysrono File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <!-- | ||
| http://.+\.newtalk\.tw/ redirect to ^ by server, and most of them are Invalid certificate. | ||
| --> | ||
|
|
||
| <ruleset name="newtalk.tw"> | ||
|
|
||
| <!-- Complications: --> | ||
| <target host="*.newtalk.tw" /> | ||
| <test url="http://abcdefg123456789.newtalk.tw/" /> | ||
| <test url="http://ap1.newtalk.tw/" /> | ||
| <test url="http://www.newtalk.tw/" /> | ||
|
|
||
| <rule from="^http://\w+\.newtalk\.tw/" to="https://newtalk.tw/" /> | ||
|
|
||
| <!-- Directly: --> | ||
| <target host="newtalk.tw" /> | ||
|
|
||
| <target host="s.ntkstatic.org" /> | ||
| <test url="http://s.ntkstatic.org/media/blog/293/blog_img_293.jpg" /> | ||
|
|
||
| <rule from="^http:" to="https:" /> | ||
| </ruleset> | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
\w+doesn't match with dash, such as abcdefg-123456789.newtalk.tw. I'd suggest you to use.+.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.
我就记得哪次中招过,
.+通不过测试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.
.+会要求两个额外的测试Uh oh!
There was an error while loading. Please reload this page.
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.
https://travis-ci.org/EFForg/https-everywhere/jobs/185161024#L193
这个是多加两个测试就会通过?
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.
丧心病狂的电信……直接用手机开热点了
之前还没注意过/utils/trivial-validate.py#L74-L84,看了下觉得这个检测方式的误报率有点高……
留着
\S吧,顺手 git blame Yimg.jp.xml (逃