Skip to content

Commit

Permalink
allow http and relative for amp-story-page-attachment (#34234)
Browse files Browse the repository at this point in the history
  • Loading branch information
honeybadgerdontcare authored May 5, 2021
1 parent 3884a6b commit 588a202
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions extensions/amp-story/validator-amp-story.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -884,9 +884,8 @@ tags: { # <amp-story-page-attachment> with href
attrs: {
name: "cta-image"
value_url: {
# protocol: "http" # TODO(honeybaderdontcare): readd once transformers in prod
protocol: "http"
protocol: "https"
allow_relative: false # TODO(honeybaderdontcare): remove once transformers in prod
}
}
child_tags: {
Expand All @@ -909,17 +908,15 @@ tags: { # <amp-story-page-attachment> with no href
attrs: {
name: "cta-image"
value_url: {
# protocol: "http" # TODO(honeybaderdontcare): readd once transformers in prod
protocol: "http"
protocol: "https"
allow_relative: false # TODO(honeybaderdontcare): remove once transformers in prod
}
}
attrs: {
name: "cta-image-2"
value_url: {
# protocol: "http" # TODO(honeybaderdontcare): readd once transformers in prod
protocol: "http"
protocol: "https"
allow_relative: false # TODO(honeybaderdontcare): remove once transformers in prod
}
}
attrs: {
Expand Down

0 comments on commit 588a202

Please sign in to comment.