summaryrefslogtreecommitdiffstats
path: root/class/FedoraPkgdb.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-07-11 18:23:16 +0200
committerRemi Collet <fedora@famillecollet.com>2010-07-11 18:23:16 +0200
commite7493ab34e9db2226a5dd1d99938c04193ed88af (patch)
treeb1ee98e51a74c75a3071dfba61b5bf909d063a05 /class/FedoraPkgdb.php
parent825c4679551854f48c6c6b67e5c5b7f7322d24d2 (diff)
urlencode package name, fixed #53
Diffstat (limited to 'class/FedoraPkgdb.php')
-rw-r--r--class/FedoraPkgdb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/class/FedoraPkgdb.php b/class/FedoraPkgdb.php
index c2085b0..ee54119 100644
--- a/class/FedoraPkgdb.php
+++ b/class/FedoraPkgdb.php
@@ -77,7 +77,7 @@ class FedoraPkgdb extends FedoraClient
function getPackageInfo($name, $refresh=false)
{
- $url="acls/name/$name";
+ $url="acls/name/".urlencode($name);
$rep = ($refresh ? false : $this->cache->get($url, __CLASS__));
if ($rep) {
$this->logDebug(