Page MenuHomePhabricator

UploadWizard should add Flickr API to Content Security Policy when required
Open, Needs TriagePublic

Description

UploadWizard has a feature that allows user to import images from Flickr.
With the feature enabled, UploadWizard will connect to https://api.flickr.com and violate CSP if https://api.flickr.com is not specifically defined under $wgCSPHeader.

Instead, UploadWizard should add the Flickr API to CSP if the feature is being used.