From d014203776e0c90e2e99061590e0cc737963b19b Mon Sep 17 00:00:00 2001 From: giles Date: Tue, 24 Feb 2026 10:02:04 +0000 Subject: [PATCH] Fix url_for endpoint name in product slug redirect Use fully qualified "market.browse.product.product_detail" instead of "product.product_detail" which doesn't exist in the URL map. Co-Authored-By: Claude Opus 4.6 --- bp/product/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bp/product/routes.py b/bp/product/routes.py index dc05d74..f4b71df 100644 --- a/bp/product/routes.py +++ b/bp/product/routes.py @@ -68,7 +68,7 @@ def register(): canon = canonical_html_slug(raw_slug) if canon != raw_slug: return redirect( - host_url(url_for("product.product_detail", slug=canon)) + host_url(url_for("market.browse.product.product_detail", slug=canon)) ) # hydrate full product