diff --git a/filesystem/File.php b/filesystem/File.php index a08417756..a771143c1 100755 --- a/filesystem/File.php +++ b/filesystem/File.php @@ -518,7 +518,7 @@ class File extends DataObject { * @return string */ function getAbsoluteURL() { - return Director::absoluteBaseURL() . $this->getURL(); + return Director::absoluteBaseURL() . $this->getFilename(); } /**