<!--
	Fully covered domains:

		- (www.)db.tt

		- dropbox.com subdomains:

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

		- (www.)dropboxatwork.com
		- (www.)dropboxmail.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="dropboxmail.com" />
	<target host="www.dropboxmail.com" />
	<target host="dropboxteam.com" />
	<target host="www.dropboxteam.com" />
	<target host="*.dropboxusercontent.com" />
	<target host="getdropbox.com" />
	<target host="www.getdropbox.com" />


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


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

	<rule from="^http://([\w-]+\.)?dropbox\.com/"
		to="https://$1dropbox.com/" />
  
	<rule from="^http://(www\.)?dropbox(atwork|mail|team)\.com/"
		to="https://$1dropbox$2.com/" />

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

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

</ruleset>
