<!--
	Nonfunctional domains:

		- (www.)cairographics.org *
		- lists.cairographics.org **

		- freedesktop.org subdomains:

			- cgit		(refused)
			- download *
			- gstreamer *
			- lists **
			- patchwork *
			- planet *
			- poppler *
			- portland *
			- specifications **
			- standards **
			- wayland *
			- xcb *
			- xorg *

	* Shows secure.freedesktop.org; mismatched, CN: secure.freedesktop.org
	** http reply


	Problematic subdomains:

		- (www.) *
		- apoc *
		- bugzilla	(mismatched, CN: bugs.freedesktop.org)
		- dri *
		- gypsy *
		- ldtp *
		- libbsd *
		- libdlo *
		- liboil *
		- libopenraw *
		- nice *
		- nouveau *
		- people	($ 404s, ~.../ works; mismatched, CN: secure.freedesktop.org)
		- pm-utils *
		- sitewranglers *
		- swfdec *
		- telepathy *
		- testrepo *
		- wiki		(mismatched, CN: secure.freedesktop.org)

	* Shows secure.freedesktop.org


	Partially covered subdomains:

		- people	(→ secure, $ 404s)
		- (www.)	(→ ^, software/ 404s)


	Fully covered subdomains:

		- apoc *
		- dri *
		- bugs
		- bugzilla	(→ bugs)
		- gypsy *
		- ldtp *
		- libbsd *
		- libdlo *
		- liboil *
		- libopenraw *
		- nice *
		- nouveau *
		- pm-utils *
		- secure
		- sitewranglers *
		- swfdec *
		- telepathy *
		- testrepo *
		- wiki *

	* → freedesktop.org

-->
<ruleset name="freedesktop.org (partial)">

	<target host="freedesktop.org" />
	<target host="*.freedesktop.org" />
		<!--
			404:
				-->
		<exclusion pattern="^http://(?:www\.)?freedesktop\.org/software(?:$|[?/])" />
		<!--
			$ is not identical:
						-->
		<exclusion pattern="^http://people\.freedesktop\.org/(?!~)" />


	<securecookie host="^bugs\.freedesktop\.org$" name=".+" />


	<rule from="^http://freedesktop\.org/wiki(\?.*)?$"
		to="https://freedesktop.org/www$1" />

	<rule from="^http://freedesktop\.org/(?:wiki/)?"
		to="https://freedesktop.org/www/" />

	<rule from="^http://(apoc|dri|gypsy|ldtp|libbsd|libdlo|liboil|libopenraw|nice|nouveau|pm-utils|sitewranglers|swfdec|telepathy|testrepo|www)\.freedesktop\.org/wiki(\?.*)?$"
		to="https://freedesktop.org/$1$2" />

	<rule from="^http://(apoc|dri|gypsy|ldtp|libbsd|libdlo|liboil|libopenraw|nice|nouveau|pm-utils|sitewranglers|swfdec|telepathy|testrepo|www)\.freedesktop\.org/(?:wiki/)?"
		to="https://freedesktop.org/$1/" />

	<rule from="^http://bug(?:s|zilla)\.freedesktop\.org/"
		to="https://bugs.freedesktop.org/" />

	<rule from="^http://(?:peopl|secur)e\.freedesktop\.org/"
		to="https://secure.freedesktop.org/" />

	<rule from="^http://wiki\.freedesktop\.org/"
		to="https://freedesktop.org/" />

</ruleset>
