Changeset 2650


Ignore:
Timestamp:
Dec 12, 2014, 1:23:01 AM (7 years ago)
Author:
andersk
Message:
Disable Service Workers on scripts/~ URLs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/httpd/conf.d/scripts-vhost.conf

    r2066 r2650  
    2929    RewriteRule .*(robots\.txt) $1 [L,NS]
    3030</Location>
     31
     32# As long as we support scripts/~ URLs, we need to disable Service
     33# Workers on them for security.
     34# https://infrequently.org/2014/12/psa-service-workers-are-coming/
     35<If "-n req('Service-Worker')">
     36    Require all denied
     37</If>
Note: See TracChangeset for help on using the changeset viewer.