Skip to content

Commit e510f46

Browse files
author
MB
committed
[Qxl] Don't force www, squish, add comments, add tests, split, cosmetics
1 parent 86a5657 commit e510f46

File tree

2 files changed

+76
-8
lines changed

2 files changed

+76
-8
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!--
2+
For other QXL coverage, see Qxl.xml.
3+
4+
5+
Nonfunctional hosts in qxl.dk:
6+
7+
- hjaelp *
8+
9+
* Handshake fails
10+
11+
-->
12+
<ruleset name="QXL.dk">
13+
14+
<!-- Direct rewrites:
15+
-->
16+
<target host="qxl.dk" />
17+
<target host="www.qxl.dk" />
18+
19+
20+
<!-- Not secured by server:
21+
-->
22+
<!--ssecurecookie host="^\.qxl\.dk$" name="^NbResult$" /-->
23+
24+
<securecookie host="^\w" name="." />
25+
26+
27+
<rule from="^http:"
28+
to="https:"/>
29+
</ruleset>
30+

src/chrome/content/rules/Qxl.xml

Lines changed: 46 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,48 @@
1-
<ruleset name="Qxl" platform="mixedcontent">
2-
<target host="qxl.no" />
3-
<target host="www.qxl.no" />
4-
<target host="qxl.dk" />
5-
<target host="www.qxl.dk" />
6-
7-
<rule from="^http://(?:www\.)?qxl\.no/" to="https://www.qxl.no/"/>
8-
<rule from="^http://(?:www\.)?qxl\.dk/" to="https://www.qxl.dk/"/>
1+
<!--
2+
Other QXL rulesets:
3+
4+
- QXL.dk.xml
5+
6+
7+
Nonfunctional hosts in qxl.no:
8+
9+
- hjelp *
10+
11+
* Handshake fails
12+
13+
14+
Mixed content:
15+
16+
- Images, on:
17+
18+
- auksjon.qxl.no, www.qxl.no from www.qxl.no *
19+
- auksjon.qxl.no, www.qxl.no from pics.qxlstatic.no
20+
- auksjon.qxl.no from www.ricardo.ch *
21+
22+
* Secured by us
23+
24+
-->
25+
<ruleset name="Qxl.no (partial)">
26+
27+
<!-- Direct rewrites:
28+
-->
29+
<target host="qxl.no" />
30+
<target host="auksjon.qxl.no" />
31+
<target host="www.qxl.no" />
32+
33+
<!-- Mixed images:
34+
-->
35+
<test url="http://www.qxl.no/pris/" />
36+
37+
38+
<!-- Not secured by server:
39+
-->
40+
<!--securecookie host="^\.qxl\.no$" name="^NbResult$" /-->
41+
42+
<securecookie host="^\w" name="." />
43+
44+
45+
<rule from="^http:"
46+
to="https:"/>
947
</ruleset>
1048

0 commit comments

Comments
 (0)