~chromium-team/chromium-browser/focal-stable

« back to all changes in this revision

Viewing changes to debian/tests/data/HTML5test/.htaccess

  • Committer: Olivier Tilloy
  • Date: 2019-06-05 14:27:38 UTC
  • mto: This revision was merged to the branch mainline in revision 1504.
  • Revision ID: olivier.tilloy@canonical.com-20190605142738-vt1q8apf04qde12k
* Upstream release: 75.0.3770.80
  - CVE-2019-5828: Use after free in ServiceWorker.
  - CVE-2019-5829: Use after free in Download Manager.
  - CVE-2019-5830: Incorrectly credentialed requests in CORS.
  - CVE-2019-5831: Incorrect map processing in V8.
  - CVE-2019-5832: Incorrect CORS handling in XHR.
  - CVE-2019-5833: Inconsistent security UI placement.
  - CVE-2019-5834: URL spoof in Omnibox on iOS.
  - CVE-2019-5835: Out of bounds read in Swiftshader.
  - CVE-2019-5836: Heap buffer overflow in Angle.
  - CVE-2019-5837: Cross-origin resources size disclosure in Appcache.
  - CVE-2019-5838: Overly permissive tab access in Extensions.
  - CVE-2019-5839: Incorrect handling of certain code points in Blink.
  - CVE-2019-5840: Popup blocker bypass.
* Install the chromium snap in place of the debian packages

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AddOutputFilterByType DEFLATE text/html
2
 
AddOutputFilterByType DEFLATE text/css
3
 
AddOutputFilterByType DEFLATE text/javascript
4
 
 
5
 
RewriteEngine on
6
 
RewriteCond %{HTTP_HOST} ^www\.html5test\.com$
7
 
RewriteRule ^ http://html5test.com%{REQUEST_URI} [L,R=301]
8
 
 
9
 
RewriteRule ^compare.html$                                      /compare/browser/index.html                                                             [R]
10
 
RewriteRule ^results.html$                                      /results/desktop.html                                                                   [R]
11
 
RewriteRule ^results-mobile.html$                       /results/mobile.html                                                                    [R]
12
 
RewriteRule ^results-tablets.html$                      /results/tablet.html                                                                    [R]
13
 
RewriteRule ^results-tv.html$                           /results/television.html                                                                [R]
14
 
 
15
 
RewriteRule ^api/(.+)$                                          /backend/index.php?method=$1&%{QUERY_STRING}
16
 
RewriteRule ^s/(.+).html$                                       /backend/controllers/saved.php?id=$1
17
 
RewriteRule ^compare/browser/index.html$        /backend/controllers/browser.php?%{QUERY_STRING}
18
 
RewriteRule ^compare/browser/(.+).html$         /backend/controllers/browser.php?show=$1&%{QUERY_STRING}
19
 
RewriteRule ^compare/feature/index.html$        /backend/controllers/feature.php?%{QUERY_STRING}
20
 
RewriteRule ^compare/feature/(.+).html$         /backend/controllers/feature.php?show=$1&%{QUERY_STRING}
21
 
RewriteRule ^results/desktop.html$                      /backend/controllers/results.php?type=desktop
22
 
RewriteRule ^results/mobile.html$                       /backend/controllers/results.php?type=mobile
23
 
RewriteRule ^results/tablet.html$                       /backend/controllers/results.php?type=tablet
24
 
RewriteRule ^results/gaming.html$                       /backend/controllers/results.php?type=gaming
25
 
RewriteRule ^results/television.html$           /backend/controllers/results.php?type=television
26
 
RewriteRule ^results/other.html$                        /backend/controllers/results.php?type=other
27
 
RewriteRule ^results/latest.html$                       /backend/controllers/latest.php
28
 
RewriteRule ^results/search.html$                       /backend/controllers/search.php
29
 
RewriteRule ^results/related/(.+).html$         /backend/controllers/fingerprint.php?id=$1
30
 
RewriteRule ^results/(.+)/timeline/(.+).html$   /backend/controllers/timeline.php?id=$2&type=$1
31
 
RewriteRule ^results/timeline/(.+).html$        /backend/controllers/timeline.php?id=$1&type=mobile
32
 
RewriteRule ^devicelab/inventory.html$          /backend/controllers/lab-inventory.php
33
 
RewriteRule ^devicelab/?$                                       /backend/controllers/lab.php
34
 
 
35
 
RewriteRule ^favicon(.*)$                                       /images/icons/favicon$1
36
 
RewriteRule ^apple-touch-icon(.*)$                      /images/icons/apple-touch-icon$1
37
 
RewriteRule ^mstile-(.*)$                                       /images/icons/mstile-$1
38
 
RewriteRule ^browserconfig.xml                          /images/icons/browserconfig.xml
39
 
 
40
 
RewriteRule ^scripts/useragents                         http://api.whichbrowser.net/warning.js
41
 
 
42
 
 
43
 
<FilesMatch ".+\.[woff|eot|svg|ttf]">
44
 
<IfModule mod_headers.c>
45
 
    Header set Access-Control-Allow-Origin "*"
46
 
</IfModule>
47
 
</FilesMatch>
48
 
 
49
 
<FilesMatch "detect.html">
50
 
<IfModule mod_headers.c>
51
 
    Header set Access-Control-Allow-Origin "*"
52
 
</IfModule>
53
 
</FilesMatch>
54
 
 
55
 
 
56
 
SetEnvIf User-Agent .*Bada.* BROKEN_CSP
57
 
 
58
 
<FilesMatch "csp.html">
59
 
<IfModule mod_headers.c>
60
 
    Header set Content-Security-Policy "default-src 'unsafe-inline' data: *; frame-src *; options inline-script;" env=!BROKEN_CSP
61
 
</IfModule>
62
 
</FilesMatch>