Uploading files via URL: fix for URL parameters (eg. image.png?id=343543)