Feature-Policy superceeded

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 年 前
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/
3 年 前
Thanks. We'll check it.
3 年 前
Done. Please see this commit.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.