<!--
	Other Joyent rulesets:

		- Joyent_Cloud.com.xml
		- Nodejs.org.xml
		- Npm.im.xml
		- Npm_js.com.xml
		- Npm_js.org.xml
		- SmartOS.org.xml


	Nonfunctional hosts in *joyent.com:

		- lpage *

	* Marketo


	Insecure cookies are set for these hosts:

		- my.joyent.com
		- sso.joyent.com
		- wiki.joyent.com
		- www.joyent.com

-->
<ruleset name="Joyent.com (partial)">

	<target host="joyent.com"/>
	<target host="*.joyent.com"/>

		<!--exclusion pattern="^http://lpage\.joyent\.com/(?!css/|images/|rs/)" /-->

			<!--	-ve:
					-->
			<!--test url="http://lpage.joyent.com/TheDeck.html" /-->

		<exclusion pattern="^http://lpage\.joyent\.com/" />

			<test url="http://lpage.joyent.com/" />

		<test url="http://apidocs.joyent.com/" />
		<test url="http://docs.joyent.com/" />
		<test url="http://help.joyent.com/" />
		<test url="http://my.joyent.com/" />
		<test url="http://pkgsrc.joyent.com/" />
		<test url="http://sso.joyent.com/login" />
		<test url="http://www.joyent.com/" />


	<!--	Not secured by server:
					-->
	<!--securecookie host="^my\.joyent\.com$" name="^(X-Mapping-\w+|connect\.sid)$" /-->
	<!--securecookie host="^sso\.joyent\.com$" name="^connect\.sess$" /-->
	<!--securecookie host="^wiki\.joyent\.com$" name="^JSESSIONID$" /-->
	<!--securecookie host="^www\.joyent\.com$" name="^PHPSESSID$" /-->

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


	<!--	This needs tests.
				-->
	<!--rule from="^http://lpage\.joyent\.com/"
		to="https://na-sjf.marketo.com/" /-->

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

</ruleset>
