Homestyx hydra
Diffusion hydra 98cac2cc2994

Always serve "{meme ...}" from the CDN domain, never from the primary domain

Description

Always serve "{meme ...}" from the CDN domain, never from the primary domain

Summary:
Ref T13101. This is a minimal change to make "{meme ...}" work with the new Content-Security-Policy by using an Ajax request to generate the image and then swapping the source on the client.

This could be much cleaner (see T5258, etc).

Test Plan: Used {meme, src=cat6, above=i am, below=cat}, chuckled completely unironically.

Maniphest Tasks: T13101

Differential Revision: https://secure.phabricator.com/D19196

Details

Provenance
epriestleyAuthored on Mar 8 2018, 10:36 AM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:6095d889987d: Don't require prototypes for "{image ...}"
Branches
Unknown
Tags
Unknown

Event Timeline