private function formatTempPath($name)
{
$lName = strtolower($name);
$tempPath = isset($this->tempPaths[$lName]) ? $this->tempPaths[$lName] : Extension::DEFAULT_TEMP_PATH;
return rtrim($this->httpRequest->getUrl()->basePath, '/') . '/' . $tempPath;
}