From 520abd0ac5ab35d3c912f0b861cbf199f2919dd2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 23 Apr 2018 13:34:39 +0200 Subject: packages/pkginfo.php: urlencode request to pkgapi.arch32.tyzoid.com --- packages/pkginfo.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/pkginfo.php') 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 ); -- cgit v1.2.3-70-g09d2