URLs ending with zero as the last section results in 404 instead of search result

Created on 7 September 2017, over 7 years ago
Updated 1 February 2025, 3 months ago

URLs such as "/test-0" do not get redirected.
Page not found is generated. To get around this I added an additional regex to look for "-" in URLs and strip them out.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom jozzy_a

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024