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

[Content directory > Ordering] Numeric prefixes appear in the url if the file name is also numeric #2806

Open
ndrbrt opened this issue Oct 9, 2024 · 0 comments

Comments

@ndrbrt
Copy link

ndrbrt commented Oct 9, 2024

Environment

  • Operating System: Darwin
  • Node Version: v20.11.1
  • Nuxt Version: 3.13.2
  • CLI Version: 3.14.0
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

Create files:

  • content/articles/1.947624.md
  • content/articles/2.a947624.md

Describe the bug

The file content/articles/1.947624.md results in the url <host>/articles/1.947624 (the expected url <host>/articles/947624 returns a 404).
The only way not to show the numeric prefix in the url is naming a file with an initial letter: the file content/articles/2.a947624.md results in the url <host>/articles/a947624 (as expecetd)

Additional context

No response

Logs

No response

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

No branches or pull requests

1 participant