Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…rroring functionality in SiteTree->getTreeTitle()
  • Loading branch information...
commit 42bc5ffb47501dd874a73d0a6698e57e03e2a03c 1 parent 68051fd
@chillu chillu authored
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);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.