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.
This commit is contained in:
parent
2a9d093ec6
commit
037baa465b
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ from .views import (
|
|||
|
||||
urlpatterns = [
|
||||
path("", HomeView.as_view(), name="home"),
|
||||
path("<prefix>.<suffix>/<identifier>/", resolve_doi, name="resolve_doi"),
|
||||
path("<prefix>.<suffix>/<path:identifier>/", resolve_doi, name="resolve_doi"),
|
||||
path("prefixes/", PrefixListView.as_view(), name="prefix_list"),
|
||||
path("prefixes/<int:pk>/", PrefixDetailView.as_view(), name="prefix_detail"),
|
||||
path("prefixes/create/", PrefixCreateView.as_view(), name="prefix_create"),
|
||||
|
|
Loading…
Reference in a new issue