summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/pkginfo.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index eef06da..06ca8dd 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -4,7 +4,8 @@
$json_content = json_decode(
file_get_contents(
- "https://pkgapi.arch32.tyzoid.com/package/".$_GET["repo"].":".$_GET["pkgname"]
+ "https://pkgapi.arch32.tyzoid.com/package/" .
+ urlencode ($_GET["repo"].":".$_GET["pkgname"])
),
true
);