Skip to content

Commit

Permalink
BUGFIX Returning File->getTreeTitle() with user input XML escaped, mi…
Browse files Browse the repository at this point in the history
…rroring functionality in SiteTree->getTreeTitle()
  • Loading branch information
chillu committed May 3, 2012
1 parent 68051fd commit 42bc5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filesystem/File.php
Expand Up @@ -240,7 +240,7 @@ function TreeTitle() {
* @return string
*/
function getTreeTitle() {
return $this->Title;
return Convert::raw2xml($this->Title);
}

/**
Expand Down

0 comments on commit 42bc5ff

Please sign in to comment.