Skip to content

[#359] Fix redirect from /dataset to /dataset_series - #362

Merged
amercader merged 1 commit into
masterfrom
359-fix-regression-dataset-redirect
Sep 25, 2025
Merged

[#359] Fix redirect from /dataset to /dataset_series#362
amercader merged 1 commit into
masterfrom
359-fix-regression-dataset-redirect

Conversation

@amercader

@amercader amercader commented Sep 25, 2025

Copy link
Copy Markdown
Member

Fixes #359
The combination of two url rules pointing to the same view function plus using url_defaults in the blueprint made that Flask always redirected to one "canonical" URL (the first one defined). Defining different endpoints for each rule solves the issue.

The combination of two url rules pointing to the same view function plus
using `url_defaults` in the blueprint made that Flask always redirected
to one "canonical" URL (the first one defined). Defining different
endpoints for each rule solves the issue.
@amercader
amercader merged commit f9b3bec into master Sep 25, 2025
6 checks passed
@amercader
amercader deleted the 359-fix-regression-dataset-redirect branch September 25, 2025 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v2.4.0: dataset RDF endpoint redirects to dataset series RDF endpoint

1 participant