boostorg / website-v2

New Boost website
https://boost.io
Boost Software License 1.0
8 stars 13 forks source link

Case insensitive URLs for library detail #1362

Closed gavinwahl closed 1 month ago

gavinwahl commented 1 month ago

Redirect to the canonical case when it does not match. This adds a case-insensitive unique constraint on library slugs to make this safe.

Fixes #163

sdarwin commented 1 month ago

If this works correctly, then ok by me. After merging to staging, there is a chance to test further if there is any question.

rbbeeston commented 1 month ago

you can go ahead and merge this, please also test on staging.

sdarwin commented 4 weeks ago

@gavinwahl , please check this Github Actions result: https://github.com/boostorg/website-v2/actions/runs/11524519367

Database migrations failed.

"CommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0023_library_slug_unique_case_insensitive, 0023_libraryversion_authors in libraries)."