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

Added Base64 and blob check in Asset#getAbsoluteUrl #3159

Merged
merged 2 commits into from May 12, 2021

Conversation

yaustar
Copy link
Contributor

@yaustar yaustar commented May 12, 2021

Fixes https://forum.playcanvas.com/t/can-i-use-dataurl-for-instead-of-map-image/20105/2

This stops path prefixes being added to data: or blob: URIs

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@yaustar yaustar requested a review from a team May 12, 2021 14:15
@yaustar yaustar self-assigned this May 12, 2021
src/asset/asset.js Outdated Show resolved Hide resolved
@yaustar yaustar merged commit bbfdf57 into master May 12, 2021
@yaustar yaustar deleted the material-base64-texture-support branch May 12, 2021 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants