Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative path using incorrect base url (html-fragment) #16

Open
juniorvanin-zz opened this issue Nov 26, 2018 · 0 comments
Open

Relative path using incorrect base url (html-fragment) #16

juniorvanin-zz opened this issue Nov 26, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@juniorvanin-zz
Copy link

The strategy html-fragment is fetching script tags using base url from "host" page instead of the "target" page.

Example:

// host page: http://example.com/

<plastic-bag src="http://target.com/page.html" type="html-fragment" />
// page.html content:
<script src="/bundle.js" />

In this scenario, it's fetching http://example.com/bundle.js instead of http://target.com/bundle.js.

@gbmoretti gbmoretti added the bug Something isn't working label Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants