From 0d4e9f2836cdee1dc880a36846a5ca8ce3e4580f Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 16 Jan 2020 21:23:20 +0100 Subject: [PATCH] Fix multiple product filter - we return all products when more than one is requested --- www/.htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/www/.htaccess b/www/.htaccess index a70563d..1ba4fcc 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -13,6 +13,7 @@ RewriteRule ^api/v1/apps/(.*)$ /api/v1/apps/$1.json? [END] #rewrite developer products "only" GET parameter RewriteCond %{QUERY_STRING} &only=([^&]+) +RewriteCond %{DOCUMENT_ROOT}/api/v1/developers/$1/products/%1.json -f RewriteRule ^api/v1/developers/(.+)/products/ /api/v1/developers/$1/products/%1.json? [END] RewriteRule ^api/v1/discover/?$ /api/v1/discover-data/discover.json [END] -- 2.30.2