<!--
	For problematic rules, see BitBucket-mismatches.xml.

	For other Atlassian coverage, see Atlassian.xml.


	CDN buckets:

		- s3.amazonaws.com/bitbucket-assetroot/
		- dwz7u9t8u8usb.cloudfront.net

		- bitbucket.statuspage.io

			- status


	Problematic subdomains:

		- portix	(works; mismatched, CN: bitbucket.org)
		- status ²

	² Refused; mismatched, CN: *.statuspage.io


	Fully covered hosts in *bitbucket.org:

		- (www.)?
		- blog
		- status	(→ bitbucket.statuspage.io)

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

	<!--	Direct rewrites:
				-->
	<target host="bitbucket.com" />
	<target host="www.bitbucket.com" />

	<target host="bitbucket.org" />
	<target host="blog.bitbucket.org" />
	<target host="www.bitbucket.org" />

	<!--	Complications:
				-->
	<target host="status.bitbucket.org" />


	<securecookie host="^\.?bitbucket\.org$" name=".+" />


	<rule from="^http://status\.bitbucket\.org/"
		to="https://bitbucket.statuspage.io/" />

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

</ruleset>
