Skip to content

Commit

Permalink
[NDB_Client] Allow loading images from images.loris.ca (#9161)
Browse files Browse the repository at this point in the history
This allows images from https://images.loris.ca to be loaded in <img> tags.
  • Loading branch information
jeffersoncasimir authored Mar 25, 2024
1 parent ca5c644 commit e1aaa87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/libraries/NDB_Client.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class NDB_Client
. "default-src 'self' 'unsafe-inline'; "
. "script-src 'self' 'unsafe-inline' 'unsafe-eval' $CaptchaDomains; "
. "font-src 'self' data:; "
. "img-src 'self' data:; "
. "img-src 'self' https://images.loris.ca data:; "
. "frame-ancestors 'none'; "
. "form-action 'self'; "
. $config_additions
Expand Down

0 comments on commit e1aaa87

Please sign in to comment.