<!--
	Fully covered domains:

		- (www.)db.tt

		- dropbox.com

		- [\w-]+.dropbox.com:

			- blog
			- bloghost[12]
			- developers
			- dl
			- dl-web
			- dropboxatwork
			- files
			- forum
			- forums
			- opensource
			- status
			- tech
			- v-misc

		- (www.)dropboxatwork.com
		- (www.)dropboxteam.com
		- *.dropboxusercontent.com
		- (www.)getdropbox.com

-->
<ruleset name="Dropbox">

	<target host="db.tt" />
	<target host="www.db.tt" />
	<target host="dropbox.com" />
	<target host="*.dropbox.com" />
	<target host="dropboxatwork.com" />
	<target host="www.dropboxatwork.com" />
	<target host="dropboxteam.com" />
	<target host="www.dropboxteam.com" />
	<target host="getdropbox.com" />
	<target host="www.getdropbox.com" />


	<securecookie host="^(?:.*\.)?dropbox\.com$" name=".+" />


	<rule from="^http://(www\.)?db\.tt/"
		to="https://db.tt/" />

	<rule from="^http://([\w-]+\.)?dropbox\.com/"
		to="https://$1dropbox.com/" />
	<test url="http://blogs.dropbox.com/" />
	<test url="http://carousel.dropbox.com/" />
	<test url="http://composer.dropbox.com/" />
	<test url="http://dl.dropbox.com/" />
	<test url="http://dl-web.dropbox.com/" />
	<test url="http://forums.dropbox.com/" />
	<test url="http://status.dropbox.com/" />
	<test url="http://tech.dropbox.com/" />
  
	<rule from="^http://(www\.)?dropbox(atwork|team)\.com/"
		to="https://$1dropbox$2.com/" />

	<rule from="^http://(www\.)?getdropbox\.com/"
		to="https://$1getdropbox.com/" />

</ruleset>
