Module: appdb Branch: master Commit: 6c21500427cd3a79b42845580eaf9e01d854481e URL: http://source.winehq.org/git/appdb.git/?a=commit;h=6c21500427cd3a79b42845580...
Author: Alexander Nicolaysen Sørnes alexsornes@gmail.com Date: Sat Dec 28 18:36:47 2013 +0100
version: Add HTML entities in links instead of URLs
---
include/version.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/version.php b/include/version.php index 8f02b24..0264281 100644 --- a/include/version.php +++ b/include/version.php @@ -1456,12 +1456,12 @@ class version {
public function objectMakeUrl() { - return APPDB_ROOT."objectManager.php?sClass=version&iId=$this->iVersionId"; + return APPDB_ROOT."objectManager.php?sClass=version&iId=$this->iVersionId"; }
public function objectMakeLink() { - $sLink = "<a href="".$this->objectMakeUrl()."">". + $sLink = "<a href="".htmlentities($this->objectMakeUrl())."">". $this->sName."</a>"; return $sLink; }