packages feed

https-everywhere-rules-raw-4.0: vendor/https-everywhere/src/chrome/content/rules/Optical-Society-of-America.xml

<!--
	!functional:
		- (www.)osa-opn.org	(www: interrupted; doesn't translate directly to osa.org)
-->
<ruleset name="Optical Society of America (partial)">

	<target host="opticsinfobase.org"/>
	<target host="www.opticsinfobase.org"/>
	<target host="osa.org"/>
	<target host="*.osa.org"/>
		<!--	redirects to http	-->
		<exclusion pattern="^http://www\.osa\.org/(?:en-us|video_library)/"/>

	<securecookie host="^www\.opticsinfobase\.org$" name=".*"/>
	<!--	observed osa.org cookies:
			- ^account
			- ^eweb2	-->
	<securecookie host="^.*\.osa\.org$" name=".*"/>

	<!--	certs don't match !www		-->
	<rule from="^http://o(pticsinfobase|sa)\.org/"
		to="https://www.o$1.org/"/>

	<rule from="^http://www\.opticsinfobase\.org/"
		to="https://www.opticsinfobase.org/"/>

	<rule from="^http://(account|eweb2|www)\.osa\.org/"
		to="https://$1.osa.org/"/>

</ruleset>