Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Create ruleset: Mono project and pronoun.is #15535

Merged
merged 2 commits into from
Jul 4, 2018
Merged

Conversation

FranklinYu
Copy link
Contributor

Two simple rulesets for simple websites.

@FranklinYu
Copy link
Contributor Author

I suppose that the CI breaking issue is not my fault?

@@ -0,0 +1,5 @@
<ruleset name="Mono project">
<target host="www.mono-project.com" />
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mono-project.com
download.mono-project.com
origin-download.mono-project.com
news.mono-project.com
jenkins.mono-project.com

Copy link
Contributor Author

@FranklinYu FranklinYu Jun 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://mono-project.com and https://news.mono-project.com/ are not available. Please verify.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@FranklinYu Can verify.

@@ -0,0 +1,5 @@
<ruleset name="pronoun.is">
<target host="pronoun.is" />
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

www.pronoun.is
hubots.pronoun.is
my.pronoun.is

Copy link
Contributor Author

@FranklinYu FranklinYu Jun 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t think these domains are available in HTTPS.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@FranklinYu Then add information about that as a comment.

@@ -0,0 +1,5 @@
<ruleset name="Mono project">
<target host="www.mono-project.com" />

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<securecookie host=".+" name=".+" />

@@ -0,0 +1,5 @@
<ruleset name="pronoun.is">
<target host="pronoun.is" />

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<securecookie host=".+" name=".+" />

@FranklinYu
Copy link
Contributor Author

FranklinYu commented Jun 7, 2018

@YegorIevlev Sorry for late reaction. I didn’t know about the rules for non-working hosts. I updated those two files.

Invalid certificate:
hubots.pronoun.is
my.pronoun.is
www.pronoun.is
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that this host has a wildcard DNS. Could you add a comment about this?

Since my and www serve the same content as ^ we can secure them by redirecting to ^.

@@ -0,0 +1,15 @@
<!--
Invalid certificate:
mono-project.com
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be redirected to www.

@J0WI
Copy link
Contributor

J0WI commented Jun 16, 2018

Please push each ruleset in a separate PR for future contributions. 😃

@FranklinYu FranklinYu force-pushed the rules/1 branch 2 times, most recently from 859497e to c894a46 Compare June 30, 2018 05:23
@FranklinYu
Copy link
Contributor Author

I don’t think I fully understand why the build fails…

@J0WI
Copy link
Contributor

J0WI commented Jun 30, 2018

Please have a look at https://github.com/EFForg/https-everywhere/blob/master/CONTRIBUTING.md#ruleset-style-guide

  • https (or https?) in from should be avoided
  • non-functional hosts and wildcards should be documented with a short comment

@FranklinYu
Copy link
Contributor Author

? I thought I was asked to do the redirection?

@J0WI
Copy link
Contributor

J0WI commented Jun 30, 2018

Yes, but please only for http. See recent examples.

@FranklinYu
Copy link
Contributor Author

Hopefully this would make witch-house/pronoun.is#42 better…

Mismatch:
hubots.pronoun.is
my.pronoun.is
www.pronoun.is
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please document that this host has a wildcard DNS record.
LGTM otherwise.

@FranklinYu
Copy link
Contributor Author

Got the line from

<!--
Remark: *.pdfmerge.com have a wildcard DNS Record.
-->

Copy link
Contributor

@J0WI J0WI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@J0WI J0WI merged commit 737363d into EFForg:master Jul 4, 2018
@FranklinYu FranklinYu deleted the rules/1 branch July 5, 2018 21:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants