summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-23 13:34:39 +0200
committerErich Eckner <git@eckner.net>2018-04-23 13:34:39 +0200
commit520abd0ac5ab35d3c912f0b861cbf199f2919dd2 (patch)
tree596eb6ce67f625cd134c3ef2eb2679fd05fa6628
parent935368dba516496e93ac112b3497fd8bc96dfea1 (diff)
downloadarchweb32-520abd0ac5ab35d3c912f0b861cbf199f2919dd2.tar.xz
packages/pkginfo.php: urlencode request to pkgapi.arch32.tyzoid.com
-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
);