Skip to content

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

Merged
ildyria merged 1 commit intoLycheeOrg:masterfrom
Merlyn42:patch-1
Jul 22, 2023
Merged

Fixes #1942 "Content-Security-Policy blocks blob requests required for Google Motion Pictures images" #1943
ildyria merged 1 commit intoLycheeOrg:masterfrom
Merlyn42:patch-1

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
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