https-everywhere-rules-raw-4.0: vendor/https-everywhere/src/chrome/content/rules/Polytechnic-University-of-Catalonia.xml
<ruleset name="Polytechnic University of Catalonia (partial)">
<target host="upc.edu"/>
<target host="*.upc.edu"/>
<target host="*.blog.upc.edu"/>
<target host="upc.es"/>
<target host="*.upc.es"/>
<securecookie host="^(.*\.)upc\.edu$" name=".*"/>
<rule from="^http://(?:www\.)?upc\.(?:es|edu)/"
to="https://www.upc.edu/"/>
<rule from="^http://australis\.upc\.es/"
to="https://australis.upc.es/"/>
<rule from="^http://(\w+\.blog|peguera|tv)\.upc\.edu/"
to="https://$1.upc.edu/"/>
</ruleset>