mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 07:20:53 +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.