ampproject / ampproject/amphtml

Add support for Content-Security-Policy's "upgrade-insecure-requests" meta tag

Open
#7,008 7 comments 0 reactions 1 assignee Claimed by @cramforce View on GitHub
Stale Type: Feature Request
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

Currently adding the Content Security meta tag to [upgrade insecure requests](https://www.w3.org/TR/upgrade-insecure-requests/)…
```html

```
results in the [error message](https://validator.ampproject.org/#url=https%3A%2F%2Fblog.tomayac.com%2Fcategories%2Fles-francais)…
```plaintext
The attribute 'http-equiv' may not appear in tag 'meta name= and content='.
```
Can we add support for it?

(CC: @mikewest, @cramforce)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.