Skip to content

Commit 8e21c87

Browse files
committed
Use proper pattern to route generic PURL with download_url
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent ae6a810 commit 8e21c87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

minecode/visitors/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def map_generic_package(package_url):
5656
return error
5757

5858

59-
@priority_router.route('pkg:generic/.*')
59+
@priority_router.route("pkg:generic/.*?download_url=.*")
6060
def process_request(purl_str):
6161
"""
6262
Process `priority_resource_uri` containing a generic Package URL (PURL) with

0 commit comments

Comments
 (0)