Fixes upload_action spec so that the action_url is generated on the fly