getPOSTUploadHTML() was broken

Fetch the upload parameters and set $upload_url correctly