Fix parsing of Content-Disposition headers on remote media requests and URL previews.