<!--
	See US-government.xml for other US government coverage.


	Nonfunctional subdomains:

		- hraunfoss	(shows fjallfoss, CN: fjallfoss.fcc.gov)


	Problematic subdomains:

		- ^		(shows transition; mismatched, CN: transition.fcc.gov)
		- publicsafety	(times out)
		- reboot *
		- transition (404 on http://transition.fcc.gov/Daily_Releases/Daily_Digest/2015/dd2015.html)

	* Times out


	Partially covered subdomains:

		- hraunfoss	(→ apps)
		- publicsafety	(→ www)
		- reboot	(→ www)


	Fully covered subdomains:

		- (www.)	(^ → www)
		- apps
		- data
		- fjallfoss
		- licensing
		- stations

-->
<ruleset name="Federal Communications Commission (partial)">

	<target host="fcc.gov" />
	<target host="*.fcc.gov" />

	<test url="http://apps.fcc.gov/" />
	<test url="http://data.fcc.gov/" />
	<test url="http://fjallfoss.fcc.gov/" />
	<test url="http://licensing.fcc.gov/" />
	<test url="http://stations.fcc.gov/" />
	<test url="http://transition.fcc.gov/" />
	<test url="http://www.fcc.gov/" />
	<test url="http://hraunfoss.fcc.gov/edocs_public/attachmatch/DOC-235879A1.txt" />
	<test url="http://hraunfoss.fcc.gov/edocs_public/attachmatch/DOC-235879A1.pdf" />

	<securecookie host="^.*\.fcc\.gov$" name=".*" />


	<rule from="^http://fcc\.gov/"
		to="https://www.fcc.gov/" />

	<rule from="^http://(apps|data|fjallfoss|licensing|stations|transition|www)\.fcc\.gov/"
		to="https://$1.fcc.gov/" />

	<!--	Redirects like so:
					-->
	<rule from="^http://hraunfoss\.fcc\.gov/edocs_public/attachmatch/(.+)"
		to="https://apps.fcc.gov/edocs_public/attachmatch/$1" />

	<!-- These rules need tests:

	<rule from="^http://publicsafety\.fcc\.gov/(?:\?.*)?$"
		to="https://www.fcc.gov/pshs/" />

	<rule from="^http://reboot\.fcc\.gov/about-reboot$"
		to="https://www.fcc.gov/about" />

	<rule from="^http://reboot\.fcc\.gov/data(?:\?.*)?$"
		to="https://www.fcc.gov/data" />

	-->
</ruleset>
