Added SVN keywords: Id, Date, Revision and Author
[Packages/TYPO3.CMS.git] / typo3 / file_newfolder.php
index 3d73fe9..5727d86 100644 (file)
@@ -151,7 +151,7 @@ class SC_file_newfolder {
                $this->shortPath = substr($this->target,strlen($GLOBALS['FILEMOUNTS'][$key]['path']));
 
                        // Setting title:
-               $this->title = $this->icon.$GLOBALS['FILEMOUNTS'][$key]['name'].': '.$this->shortPath;
+               $this->title = $this->icon . htmlspecialchars($GLOBALS['FILEMOUNTS'][$key]['name']) . ': ' . $this->shortPath;
 
                        // Setting template object
                $this->doc = t3lib_div::makeInstance('template');