=?UTF-8?Q?Alexander=20Nicolaysen=20?==?UTF-8?Q?S=C3=B8rnes=20?=: version: Add HTML entities in links instead of URLs
Alexander Nicolaysen Sørnes
asornes at winehq.org
Sat Dec 28 11:43:23 CST 2013
Module: appdb
Branch: master
Commit: 6c21500427cd3a79b42845580eaf9e01d854481e
URL: http://source.winehq.org/git/appdb.git/?a=commit;h=6c21500427cd3a79b42845580eaf9e01d854481e
Author: Alexander Nicolaysen Sørnes <alexsornes at 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;
}
More information about the wine-cvs
mailing list