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

[New ruleset] hoccer.com #6230

Merged
merged 3 commits into from
Nov 29, 2016
Merged

[New ruleset] hoccer.com #6230

merged 3 commits into from
Nov 29, 2016

Conversation

rugk
Copy link
Contributor

@rugk rugk commented Aug 12, 2016

No description provided.

@rugk
Copy link
Contributor Author

rugk commented Oct 21, 2016

Any news? And BTW: <securecookie host="." name="." /> is valid and just includes all cookies from this domain, is not it?

@jeremyn
Copy link
Contributor

jeremyn commented Nov 28, 2016

Thanks @rugk.

  • There are various issues with the ruleset, so please change it to look like this:
<!--
	Invalid certificate:
		api.hoccer.com
		developer.hoccer.com
		stats.hoccer.com
		hoccer-project.com
		www.hoccer-project.com
		stats.hoccer-project.com

-->
<ruleset name="Hoccer">

	<target host="hoccer.com" />
	<target host="www.hoccer.com" />
	<target host="faq.hoccer.com" />
	<target host="invite.hoccer.com" />

	<target host="hoccer-project.com" />
	<target host="www.hoccer-project.com" />

	<securecookie host="^(www|faq|invite)\.hoccer\.com$" name=".+" />

	<rule from="^http://(www\.)?hoccer-project\.com/"
		to="https://hoccer.com/" />

	<rule from="^http:"
		to="https:" />

</ruleset>

This:

  • adds new targets and identifies some non-working domains
  • changes the ruleset name because it now covers both hoccer.com and hoccer-project.com
  • modifies the securecookie to be more targeted, given the number of non-working domains. Also following our style guide here, .+ is the preferred way of saying "match everything".
  • adds rewrite for (www.)?hoccer-project.com to hoccer.com.

Please let me know if you have any concerns about these changes.

  • Also, we like to squash-and-merge rulesets, which means we combine and rewrite commits in your name. Is that all right with you for this and any other pull requests you submit to us?

@jeremyn jeremyn self-assigned this Nov 28, 2016
@rugk
Copy link
Contributor Author

rugk commented Nov 29, 2016

Also, we like to squash-and-merge rulesets, which means we combine and rewrite commits in your name. Is that all right with you for this and any other pull requests you submit to us?

Yes, that's all right.

@jeremyn
Copy link
Contributor

jeremyn commented Nov 29, 2016

My mistake on the failed tests. In this line, change (www.) to (www\.). The first way is wrong. I had it the wrong way in #6230 (comment) and have now updated it. I'm sorry about that.

@jeremyn jeremyn merged commit 49aa44f into EFForg:master Nov 29, 2016
@jeremyn
Copy link
Contributor

jeremyn commented Nov 29, 2016

Thanks, merged.

@jeremyn jeremyn removed their assignment Nov 29, 2016
@rugk rugk deleted the hoccer branch November 30, 2016 16:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants