salsadigitalauorg / merlin-framework

Merlin - migration framework
GNU General Public License v3.0
16 stars 3 forks source link

Restrict media (image/documents) to specified domains #100

Open stooit opened 5 years ago

stooit commented 5 years ago

Description Current media type/processors will follow selectors which are generally greedy in terms of img/href selection for media.

This means they can include assets from external sources, which is commonly undesirable.

Proposed solution Add new restrict_domains option to media processor and type - do not process media items that do not belong to the array of allowed domains.

Additional context None