private function transformToUploadUrl()
 {
     $base = $this->request->getBasePath();
     $url = str_replace($base, $base . "/upload", $this->request->getBaseUrl());
     $this->request->setBaseUrl($url);
 }