fix webpreview for urls with url-encoded chars