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

Fixes #1942 "Content-Security-Policy blocks blob requests required for Google Motion Pictures images" #1943

Merged
merged 1 commit into from
Jul 22, 2023

Conversation

Merlyn42
Copy link
Contributor

@Merlyn42 Merlyn42 commented Jul 18, 2023

Fixes #1942

Live photos make "blob:" requests, currently that results in an error: Content-Security-Policy: The page’s settings blocked the loading of a resource at blob:https://xxx.com/48d5c8e8-8bac-43af-92d0-b13eda3f6eb6 (“media-src”). and
Content-Security-Policy: The page’s settings blocked the loading of a resource at blob:https://xxx.com/f8d5c8e8-8bac-43af-92d0-b13eda3f6eb6 (“img-src”).

This change fixes that.

Live photos make "blob:" requests, currently that results in an error:
Content-Security-Policy: The page’s settings blocked the loading of a resource at blob:https://xxx.com/48d5c8e8-8bac-43af-92d0-b13eda3f6eb6 (“media-src”).
and
Content-Security-Policy: The page’s settings blocked the loading of a resource at blob:https://xxx.com/f8d5c8e8-8bac-43af-92d0-b13eda3f6eb6 (“img-src”).

This change fixes that
Copy link
Member

@ildyria ildyria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. will merge once the CI passes.

@codecov
Copy link

codecov bot commented Jul 22, 2023

Codecov Report

Merging #1943 (f268f65) into master (66a20a3) will decrease coverage by 0.46%.
The diff coverage is n/a.

Additional details and impacted files

@ildyria ildyria merged commit 2d899a1 into LycheeOrg:master Jul 22, 2023
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Content-Security-Policy blocks blob requests required for Google Motion Pictures images
2 participants