<!--
Disabled by https-everywhere-checker because:
Fetch error: http://nokia.co.uk/ => https://www.nokia.co.uk/: (51, "SSL: no alternative certificate subject name matches target host name 'www.nokia.co.uk'")
Fetch error: http://www.nokia.co.uk/ => https://www.nokia.co.uk/: (51, "SSL: no alternative certificate subject name matches target host name 'www.nokia.co.uk'")
Fetch error: http://nokiausa.com/ => https://www.nokiausa.com/: (28, 'Operation timed out after 15000 milliseconds with 0 bytes received')
Fetch error: http://www.nokiausa.com/ => https://www.nokiausa.com/: (28, 'Operation timed out after 15001 milliseconds with 0 bytes received')
	Other Nokia rulesets:

		- Here.com.xml
		- Ovi.com.xml
		- NAVTEQ.xml


	discussions.nokia.co.uk is handled mostly in Lithium-clients.xml.


	Problematic domains:

		- nokia.(ca|co.uk|de|fr)	(mismatched, CN:  www.nokia.com)
		- www.nokia.ca			(akamai)
		- discussions.nokia.co.uk	(mismatched, CN: secure02.lithium.com)

		- nokia.com subdomains:

			- advertising		(self-signed)
			- (www.)map ⁵
			- qt			(works; mismatched, CN: *.digia.com)
			- blog.qt *
			- developer.qt		(works; mismatched, CN: qt-project.org)
			- labs.qt *
			- doc.qt		(times out)

		- nokiausa.com			(no https)

		* Expired
	⁵ Mismatched, CN: here.com


	Partially covered domains:

		- discussions.nokia.co.uk	(→ discussions.europe.nokia.com)
		- (www.)developer.nokia.com	(some pages redirect to http)



	Fully covered domains:

		- (www.)nokia.ca	(→ nokia.com)
		- (www.)nokia.co.uk	(^ → www)

		- nokia.com subdomains:

			- account
			- advertising	(→ primeplace)

			- developer subdomains:

				- analytics
				- projects
				- sso

			- discussions.europe
			- i
			- (www.)maps	(→ here.com)
			- api.maps
			- maps.nlp
			- \d.maps.nlp
			- primeplace

			- qt subdomains:

				- ^		(→ qt.digia.com)
				- blog		(→ blog.qt.digia.com)
				- developer	(→ qt-project.org)
				- labs		(→ blog.qt.digia.com)

		- (www.)nokia.de	(^ → www)
		- (www.)nokia.fr	(^ → www)
		- (www.)nokiausa.com	(^ → www)

-->
<ruleset name="Nokia (partial)" default_off='failed ruleset test'>

	<target host="nokia.*" />
	<target host="www.nokia.*" />
	<target host="nokia.co.uk" />
	<target host="www.nokia.co.uk" />
	<target host="*.nokia.com" />
		<!--
			Redirect to http:
						-->
		<exclusion pattern="^http://www\.developer\.nokia\.com/(?:$|De(?:sign|velop|vices)/|Distribute/|info/)" />
	<target host="nokiausa.com" />
	<target host="www.nokiausa.com" />


	<securecookie host="^(?:.*\.)?nokia\.(?:com|co\.uk|de|fr)$" name=".+" />


	<rule from="^http://(?:www\.)?nokia\.ca/"
		to="https://www.nokia.com/ca-en/" />

	<rule from="^http://(?:www\.)?nokia\.(co\.uk|de|fr)/"
		to="https://www.nokia.$1/" />

	<rule from="^http://advertising\.nokia\.com/"
		to="https://primeplace.nokia.com/" />

	<rule from="^http://((?:account|(?:(?:analytics|projects|sso|www)\.)?developer|discussions\.europe|[ir](?:\.prod)?|maps\.nlp|api\.maps|\d\.maps\.nlp|primeplace|www)\.)?nokia\.com/"
		to="https://$1nokia.com/" />

	<rule from="^http://developer\.nokia\.com/"
		to="https://qt-project.org/" />

	<!--	Redirect keeps path and args:
						-->
	<rule from="^http://(?:www\.)?maps\.nokia\.com/+"
		to="https://here.com/" />

	<rule from="^http://qt\.nokia\.com/"
		to="https://qt.digia.com/" />

	<rule from="^http://(?:blog|labs)\.qt\.nokia\.com/"
		to="https://blog.qt.digia.com/" />

	<rule from="^http://discussions\.nokia\.co\.uk/html/images/"
		to="https://discussions.europe.nokia.com/html/images/" />

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

</ruleset>
