Reject images that are not on the assets domain or a relative path

(Paired with @jamiecobbett on this.)
Excuse my ignorance (I don't understand classes, to be honest :scream:), but what does this do for us that is better?