Skip to content
Browse files

BUGFIX Returning File->getTreeTitle() with user input XML escaped, mi…

…rroring functionality in SiteTree->getTreeTitle()
  • Loading branch information...
1 parent 68051fd commit 42bc5ffb47501dd874a73d0a6698e57e03e2a03c @chillu chillu committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 filesystem/File.php
View
2 filesystem/File.php
@@ -240,7 +240,7 @@ function TreeTitle() {
* @return string
*/
function getTreeTitle() {
- return $this->Title;
+ return Convert::raw2xml($this->Title);
}
/**

0 comments on commit 42bc5ff

Please sign in to comment.
Something went wrong with that request. Please try again.