Compiled from 846d4a0 - Add more resource url whitelist