<!--
	Better Business Bureau

	Other Better Business Bureau rulesets:

		- BBB_Online.org.xml
		- BBB_Silicon.org.xml


	Nonfunctional domains:

		- (www.)?labbb.org *

	* Refused


	Problematic hosts in *bbb.org:

		- www.dc *
		- www.la *
		- www.sanjose *
		- www.setflorida *
		- www.us *

	* Mismatched


	Fully covered domains:

		- hurdman.app.bbb.org
		- sanjose.app.bbb.org

		- (www.)?[\w-]+.bbb.org:	(www → ^)

			- assets
			- charityreports
			- (www.)?dc
			- (www.)?la
			- (www.)?sanjose
			- (www.)?seflorida
			- seal-centralalabama
			- seal-goldengate
			- seal-newyork
			- us
			- www


	Insecure cookies are set for these domains and hosts:

		- .bbb.org
		- (area).app.bbb.org
		- assets.bbb.org
		- charityreports.bbb.org
		- .goldengate.bbb.org
		- seal-(area).bbb.org


	Mixed content:

		- Images, on:

			- charityreports from assets.bbb.org *
			- www from $self *

	* Secured by us

-->
<ruleset name="BBB.org">

	<target host="bbb.org" />
	<target host="*.bbb.org" />

	<!--target host="labbb.org"/-->
	<!--target host="www.labbb.org"/-->

		<!--	Redirects to (200) unavailable.html
								-->
		<exclusion pattern="^http://www\.bbb\.org/\w+/business-reviews/\w+/\w" />

			<!--	+ve:
					-->
			<test url="http://www.bbb.org/kitchener/business-reviews/movers/kingsway-van-lines-in-markham-on-1297240" />
			<test url="http://www.bbb.org/kitchener/business-reviews/movers/megacity-storage-in-north-york-on-1136682" />
			<test url="http://www.bbb.org/kitchener/business-reviews/movers/metropolitan-movers-durham-in-oshawa-on-1332540" />

		<!--	Direct rewrites:
					-->
		<test url="http://hurdman.app.bbb.org/abs/login.html" />
		<test url="http://sanjose.app.bbb.org/abs/login.html" />
		<test url="http://assets.bbb.org/" />
		<test url="http://assets.bbb.org/images/seals/aC-seal-horizontal.png" />
		<test url="http://charityreports.bbb.org/" />
		<test url="http://charityreports.bbb.org/public/seal.aspx?ID=34521032010" />
		<test url="http://dc.bbb.org/" />
		<test url="http://la.bbb.org/" />
		<test url="http://mwco.bbb.org/" />
		<test url="http://sanjose.bbb.org/" />
		<test url="http://seal-newyork.bbb.org/seals/black-seal-200-42-whitetxt-dashlane-1.png" />
		<test url="http://seflorida.bbb.org/" />
		<test url="http://us.bbb.org/" />

		<!--	Complications:
					-->
		<test url="http://www.dc.bbb.org/" />
		<test url="http://www.la.bbb.org/" />
		<test url="http://www.sanjose.bbb.org/" />
		<test url="http://www.seflorida.bbb.org/" />
		<test url="http://www.us.bbb.org/" />


	<!--	Not secured by server:
					-->
	<!--securecookie host="^\.bbb\.org$" name="^(__qca|BBBLocationName|BBBSite|PHPSESSID)$" /-->
	<!--securecookie host="^\.(goldengate\.)?bbb\.org$" name="^logolink$" /-->
	<!--securecookie host="^(hurdman|sanjose)\.app\.bbb\.org$" name="^bbb$" /-->
	<!--securecookie host="^assets\.bbb\.org$" name="^NSC_.*" /-->
	<!--securecookie host="^sanjose\.app\.bbb\.org$" name="^(before|current|previous)$" /-->
	<!--securecookie host="^charityreports\.bbb\.org$" name="^(ASP\.NET_SessionId|BBB_Cookie)$" /-->
	<!--securecookie host="seal-area\.bbb\.org$" name="^BBB_Cookie$" /-->

	<securecookie host=".+" name=".+" />


	<!--rule from="^http://(?:www\.)?labbb\.org/"
		to="https://www.labbb.org/"/-->

	<rule from="^http://www\.([\w-]+)\.bbb\.org/"
		to="https://$1.bbb.org/"/>

	<rule from="^http://((?:[\w-]+|(?:hurdman|sanjose)\.app)\.)?bbb\.org/"
		to="https://$1bbb.org/"/>

</ruleset>
