diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-07-11 18:23:16 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-07-11 18:23:16 +0200 |
commit | e7493ab34e9db2226a5dd1d99938c04193ed88af (patch) | |
tree | b1ee98e51a74c75a3071dfba61b5bf909d063a05 /class | |
parent | 825c4679551854f48c6c6b67e5c5b7f7322d24d2 (diff) |
urlencode package name, fixed #53
Diffstat (limited to 'class')
-rw-r--r-- | class/FedoraPkgdb.php | 2 |
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( |