Fix for resource direct URLs in resources.