Feature-Policy superceeded

1 month ago
Discovered on Version Nopcommerce 4.3

The feature policy has now been renamed to Permissions-Policy

in web.config:
<add name="Feature-Policy" value="accelerometer 'none'; camera 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; payment *; usb 'none'" />


Should now be:
<add name="Permissions-Policy" value="accelerometer 'none'; camera 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; payment *; usb 'none'" />


Source
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy

Spec

https://w3c.github.io/webappsec-permissions-policy/
1 month ago
Thanks. We'll check it.
1 month ago
Done. Please see this commit.