From 037baa465b7fdfe48ddb3e07a6a461499c2b3045 Mon Sep 17 00:00:00 2001 From: Kumi Date: Tue, 25 Jun 2024 14:12:50 +0200 Subject: [PATCH] fix(router): update DOI resolution path parameter Changed the `identifier` parameter in the DOI resolution path to accept the full path format. This fixes issues where complex identifiers containing slashes were not resolving correctly. Ensures proper routing for a broader range of DOIs. --- freedoi/resolver/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freedoi/resolver/urls.py b/freedoi/resolver/urls.py index 020b06b..d838ffc 100644 --- a/freedoi/resolver/urls.py +++ b/freedoi/resolver/urls.py @@ -30,7 +30,7 @@ from .views import ( urlpatterns = [ path("", HomeView.as_view(), name="home"), - path(".//", resolve_doi, name="resolve_doi"), + path(".//", resolve_doi, name="resolve_doi"), path("prefixes/", PrefixListView.as_view(), name="prefix_list"), path("prefixes//", PrefixDetailView.as_view(), name="prefix_detail"), path("prefixes/create/", PrefixCreateView.as_view(), name="prefix_create"),