mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 12:24:10 +08:00

Previously we were only applying the restriction to `a[href]` and `img[src]`. This commit ensures we apply the same logic to all allowlisted media src attributes.