You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a stylesheet does not exist on the filesystem but points to an endpoint that returns a stylesheet, a relative path does not work. Relative stylesheet URLs fail to be fetched.
Additionally, links and resources embedded on the page which make use of relative URLs need to also be made absolute so that AMP pages generated by the plugin are suitable to be embedded in cross-domain contexts such as with the AMP Shadow DOM API, such as in a headless context. This is also important for content being served by the REST API. See #1014.
Expected Behaviour
All relative URLs should appear as absolute in AMP pages, whether they be for stylesheets, fonts, images, links, audio, video, iframes, etc.
Bug Description
When a stylesheet does not exist on the filesystem but points to an endpoint that returns a stylesheet, a relative path does not work. Relative stylesheet URLs fail to be fetched.
Additionally, links and resources embedded on the page which make use of relative URLs need to also be made absolute so that AMP pages generated by the plugin are suitable to be embedded in cross-domain contexts such as with the AMP Shadow DOM API, such as in a headless context. This is also important for content being served by the REST API. See #1014.
Expected Behaviour
All relative URLs should appear as absolute in AMP pages, whether they be for stylesheets, fonts, images, links, audio, video, iframes, etc.
Steps to reproduce
Plugin code to reproduce this issue:
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
QA testing instructions
Demo
Changelog entry
The text was updated successfully, but these errors were encountered: