<!--
	Nonfunctional:

		- cs\d*.userapi.com

-->
<ruleset name="VK (partial, old)" default_off="possibly superseded">

	<target host="userapi.com" />
	<target host="*.userapi.com" />
	<target host="vk.com" />
	<target host="*.vk.com" />
	<target host="vkontakte.ru" />
	<target host="www.vkontakte.ru" />


	<securecookie host="^.*\.vk\.com$" name=".*" />


	<rule from="^http://p(p|s)\.userapi\.com/"
		to="https://p$1.userapi.com/" />

	<!--	Cert doesn't match userapi	-->
	<rule from="^http://st0\.userapi\.com/"
		to="https://vk.com/" />

	<!--	Cert: *.vk.com	-->
	<rule from="^https?://(?:www\.)?userapi\.com/"
		to="https://vk.com/" />

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

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

</ruleset>
