ampproject / ampproject/amp.dev
Relative URL used in AMP4email example code
- Dominant language
- HTML
- Stars
- 600
- Forks
- 675
- PR merge metrics
- No merged PRs in 30d
Description
## 🐛 Bug Report
### Current behavior
The code in the [Advanced Server Request example](https://amp.dev/documentation/examples/email/interactivity-dynamic-content/advanced_server_request/) uses a relative URL which is not valid in AMP4Email and shows an error when viewed in the playground.

[Code in GitHub](https://github.com/ampproject/amp.dev/blob/main/examples/source/interactivity-dynamic-content/Advanced_Server_Request.html#L64)
### Expected behavior/code
Expect example code to pass validation
### Reproduction procedure
1. [Open Advanced Server Request example the in playground](https://playground.amp.dev/?url=https://preview.amp.dev/documentation/examples/interactivity-dynamic-content/advanced_server_request)
2. Look at error message
Contributor guide
Research direction
Open examples/source/interactivity-dynamic-content/Advanced_Server_Request.html and inspect the amp-list URL around line 64. Reproduce the issue in the linked AMP playground, then verify that the example passes AMP4Email validation without the relative-URL error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100