Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
173 changes: 101 additions & 72 deletions src/chrome/content/rules/Swisscom.ch.xml
Original file line number Diff line number Diff line change
@@ -1,96 +1,125 @@
<!--
Disabled by https-everywhere-checker because:
Fetch error: http://swissdigicert.ch/ => https://www.swissdigicert.ch/: (6, 'Could not resolve host: swissdigicert.ch')
Fetch error: http://www.swissdigicert.ch/ => https://www.swissdigicert.ch/: (60, 'SSL certificate problem: unable to get local issuer certificate')
Other Swisscom rulesets:

- Bluewin.ch.xml
- Bluewin-HostCenter.xml
- Scssstatic.ch.xml


- swisscom.ch.122.2o7.net

- o.swisscom.ch


Nonfunctional subdomains:

- web.tvair *
- web.tvonline *

* Shows services.snoopy; mismatched, CN: services.snoopy.swisscom.com)


Problematic subdomains:

- ^ (cert only matches www)
- de (http reply)
- o (mismatched, CN: *.122.2o7.net)
- sommer (works; mismatched, CN: *.hostcenter.com)


Partially covered subdomains:

- de (→ www)


Fully covered domains:

- swisscom.ch subdomains:

- (www.) (^ → www)
- o (→ swisscom-ch.122.2o7.net)
- so
- supportcommunity
- ict
- vidia
- io
- extranet
- openairbuddy

- (www.)swisscom.com
- services.snoopy.swisscom.com
- www.swissdigicert.ch


swisscom.ch:
Missmatch:
- community
- cr
- deezer
- hotspotlocator
- internetbox
- labs
- lpn
- mobileemail
- www.mobileemail
- report
- shoplocator
- sommer
- tvair
- web.tvair
- tvonline
- web.tvonline

Unknown issuer:
- expats

Refused:
- devicesupport
- mobileaid
- tv

swisscom.com:
Missmatch:
- mobileemail
- www.mobileemail
- www.mafo

Refused:
- brandcenter
- documents
- ictquiz
- quiz365d
-->
<ruleset name="Swisscom.ch" default_off='failed ruleset test'>

<ruleset name="Swisscom.ch">
<target host="swisscom.ch" />
<target host="*.swisscom.ch" />
<target host="www.swisscom.ch" />
<target host="businessapps.swisscom.ch" />
<target host="cockpit.swisscom.ch" />
<target host="conferencing.swisscom.ch" />
<target host="developer.swisscom.ch" />
<target host="extranet.swisscom.ch" />
<target host="ict.swisscom.ch" />
<target host="io.swisscom.ch" />
<target host="issue.swisscom.ch" />
<target host="itunes.swisscom.ch" />
<target host="jobs.swisscom.ch" />
<target host="o.swisscom.ch" />
<target host="so.swisscom.ch" />
<target host="supportcommunity.swisscom.ch" />
<target host="tools.swisscom.ch" />
<target host="vidia.swisscom.ch" />
<target host="www2.swisscom.ch" />

<target host="swisscom.com" />
<target host="*.swisscom.com" />
<target host="swissdigicert.ch"/>
<target host="www.swisscom.com" />
<target host="bfm.swisscom.com" />
<target host="developer.swisscom.com" />
<target host="docsafe.swisscom.com" />
<target host="itsalm1.swisscom.com" />
<target host="itunes.swisscom.com" />
<target host="jobsp.swisscom.com" />
<target host="remas.swisscom.com" />
<target host="smartlife.swisscom.com" />
<target host="www.smartlife.swisscom.com" />
<target host="wholesale.swisscom.com" />
<target host="services.snoopy.swisscom.com" />
<target host="*.hospitality.swisscom.com" />
<target host="*.ds01.swisscom.com" />
<target host="*.ds02.swisscom.com" />

<target host="www.swissdigicert.ch"/>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this host is not rewritten anywhere. Remove it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about the last rule?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I didn't notice the last rule. Looks good.



<!-- Omniture cookies:
-->
<securecookie host="^\.swisscom\.ch$" name="^s_\w+$" />
<securecookie host="^www1?\.swisscom\.ch$" name=".+" />
<securecookie host="^(?:www\.)?swisscom\.com$" name=".+" />
<test url="http://bar.ds01.swisscom.com/" />
<test url="http://foo.ds01.swisscom.com/" />
<test url="http://ici.ds01.swisscom.com/" />
<test url="http://promo.ds01.swisscom.com/" />
<test url="http://www.ds01.swisscom.com/" />

<test url="http://awk.ds02.swisscom.com/" />
<test url="http://belimo.ds02.swisscom.com/" />
<test url="http://ctera.ds02.swisscom.com/" />
<test url="http://finitia.ds02.swisscom.com/" />
<test url="http://fischerconnectors.ds02.swisscom.com/" />
<test url="http://lukb.ds02.swisscom.com/" />
<test url="http://securitonsi.ds02.swisscom.com/" />

<rule from="^http://(?:www\.)?swisscom\.ch/"
to="https://www.swisscom.ch/" />
<test url="http://cms.hospitality.swisscom.com/" />
<test url="http://conftool.hospitality.swisscom.com/" />
<test url="http://delegate.hospitality.swisscom.com/" />
<test url="http://extranet.hospitality.swisscom.com/" />
<test url="http://partnerportal.hospitality.swisscom.com/" />
<test url="http://portal.hospitality.swisscom.com/" />
<test url="http://scheduler.hospitality.swisscom.com/" />

<rule from="^http://de\.swisscom\.ch/(?:\?.*|privatkunden)?$"
to="https://www.swisscom.ch/de/privatkunden.html" />

<rule from="^http://de\.swisscom\.ch/its/(?:\?.*)?$"
to="https://www.swisscom.ch/it-services/" />
<!-- Omniture cookies:-->
<securecookie host="^\.swisscom\.ch$" name="^s_\w+$" />
<securecookie host="^www1?\.swisscom\.ch$" name=".+" />
<securecookie host="^(?:www\.)?swisscom\.com$" name=".+" />


<rule from="^http://o\.swisscom\.ch/"
to="https://swisscom-ch.122.2o7.net/" />

<rule from="^http://(so|ict|supportcommunity|vidia|io|extranet|openairbuddy)\.swisscom\.ch/"
to="https://$1.swisscom.ch/" />

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

<rule from="^http://(?:www\.)?swissdigicert\.ch/"
to="https://www.swissdigicert.ch/"/>
<rule from="^http://itunes\.swisscom\.com/"
to="https://itunes.swisscom.ch/" />

<rule from="^http:"
to="https:" />
</ruleset>