Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Including numbers in page name causes 404 #374

Closed
grilledcheesby opened this issue Jul 7, 2023 · 1 comment
Closed

Including numbers in page name causes 404 #374

grilledcheesby opened this issue Jul 7, 2023 · 1 comment
Labels
bug Something isn't working priority:high High priority items scope:pages Related to pages

Comments

@grilledcheesby
Copy link

Describe the bug
When creating or editing an Event page, using numbers into the title causes the page to become inaccessible and shows a 404 error.

To Reproduce

  1. Create event page and name it "2014-15 Event"
  2. Creation is successful
  3. Navigating to the page shows 404.

Expected behavior
To be able to see the page

Additional context
Removing the title from the address bar (for example /pages/8 instead of /pages/8.2014-15_Event) navigates to the page correctly. 404 only happens when the first character of a title is a number, numbers work fine at the middle or end of a title

@grilledcheesby grilledcheesby added the bug Something isn't working label Jul 7, 2023
@itinerare itinerare added priority:high High priority items scope:time Related to divisions/chronologies/events labels Jul 7, 2023
@itinerare
Copy link
Owner

This a weird one-- but fortunately I was able to confirm that another of my projects (that also includes slugs in some page URLs) doesn't seem to suffer from this problem, so it should just be a matter of "backporting" the setup for handling it to this one.

@itinerare itinerare added scope:pages Related to pages and removed scope:time Related to divisions/chronologies/events labels Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:high High priority items scope:pages Related to pages
Projects
None yet
Development

No branches or pull requests

2 participants