
<!--
Disabled by https-everywhere-checker because:
Fetch error: http://community.nationalarchives.gov.uk/ => https://community.nationalarchives.gov.uk/: (7, 'Failed to connect to community.nationalarchives.gov.uk port 443: Connection refused')

	The National Archives

	For problematic rules, see National_Archives.gov.uk-problematic.xml.

	For other UK government coverage, see GOV.UK.xml.


	Nonfunctional hosts in *nationalarchives.gov.uk:

		- blog ¹
		- bookshop ²
		- media ²
		- smartsource ¹
		- webarchive ¹

	¹ Refused
	² Dropped


	Problematic hosts in *nationalarchives.gov.uk:

		- labs ¹ ²

	¹ Expired
	² Untrusted root


	Insecure cookies are set for these hosts:

		- discovery.nationalarchives.gov.uk


	Mixed content:

		- css, on:

			- labs, www from fonts.googleapis.com ¹
			- www from $self ¹

		- Images on www from $self ¹
		- Bugs on community, images, labs, www from smartsource.nationalarchives.gov.uk ²

	¹ Secured by us
	² Unsecurable

-->
<ruleset name="National Archives.gov.uk (partial)" default_off='failed ruleset test'>

	<target host="nationalarchives.gov.uk" />
	<target host="community.nationalarchives.gov.uk" />
	<target host="discovery.nationalarchives.gov.uk" />
	<target host="images.nationalarchives.gov.uk" />
	<target host="secure.nationalarchives.gov.uk" />
	<target host="www.nationalarchives.gov.uk" />

		<!--	Redirects to http:
						-->
		<!--exclusion pattern="^http://discovery\.nationalarchives\.gov\.uk/$" /-->
		<!--
			Exceptions:
					-->
		<exclusion pattern="^http://discovery\.nationalarchives\.gov\.uk/(?!/*(?:Content/compiled-css/|Content/[Ii]mages/|SearchUI/Content/|favicon\.ico|register$|sign-in$))" />

			<!--	+ve:
					-->
			<test url="http://discovery.nationalarchives.gov.uk/advanced-search" />
			<test url="http://discovery.nationalarchives.gov.uk/browse/" />
			<test url="http://discovery.nationalarchives.gov.uk/details/c/F18168" />
			<test url="http://discovery.nationalarchives.gov.uk/details/r/C10012" />
			<test url="http://discovery.nationalarchives.gov.uk/details/r/C2322602" />
			<test url="http://discovery.nationalarchives.gov.uk/details/r/C44" />
			<test url="http://discovery.nationalarchives.gov.uk/find-an-archive" />
			<test url="http://discovery.nationalarchives.gov.uk/results/r/?_q=service%20records&amp;_sd=1914&amp;_ed=1920&amp;_hb=tna&amp;_d=WO" />
			<test url="http://discovery.nationalarchives.gov.uk/tags/index" />

			<!--	-ve:
					-->
			<test url="http://discovery.nationalarchives.gov.uk/Content/Images/logo-white.png" />
			<test url="http://discovery.nationalarchives.gov.uk/Content/compiled-css/main.min.4.1.0.css" />
			<test url="http://discovery.nationalarchives.gov.uk/favicon.ico" />
			<test url="http://discovery.nationalarchives.gov.uk/register" />
			<test url="http://discovery.nationalarchives.gov.uk/sign-in" />


	<!--	Not secured by server:
					-->
	<!--securecookie host="discovery\.nationalarchives\.gov\.uk$" name="^ASP\.NET_SessionId$" /-->

	<securecookie host=".\.nationalarchives\.gov\.uk$" name="." />


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