packages feed

https-everywhere-rules-raw-4.0: vendor/https-everywhere/src/chrome/content/rules/BioMed-Central.xml

<!--
	For other Springer coverage, see Springer.xml.


	Nonfunctional:

		- (www.)chemistrycentral.com	(times out)
		- (www.)springeropen.com	(ditto)

-->
<ruleset name="BioMed Central" platform="mixedcontent">

	<target host="biomedcentral.com" />
	<target host="*.biomedcentral.com" />


	<securecookie host="^(.*\.)?biomedcentral\.com$" name=".*" />


	<!--	w01, w13: cert doesn't match.	-->
	<rule from="^https?://(?:w\d\d\.|(www\.))?biomedcentral\.com/"
		to="https://$1biomedcentral.com/" />

 	<rule from="^https?://(?:w\d\d\.|(www\.))?biomedcentral\.com/"
 		to="https://$1biomedcentral.com/" />
 
        <!-- This is really ugly, but some (not all!) BiomedCentral
             HTTPS URLs generate an incorrect 302 redirect from the
             site to http://www.biomedcentral.com:443/somepath
             which then produces an error; we can apparently fix the
             effects of this 302 ourselves with a rewrite rule. -->
	<rule from="^http://(?:w\d\d\.|(www\.))?biomedcentral\.com:443/"
                to="https://$1biomedcentral.com/" />

</ruleset>