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

Pagination bug? #2636

Closed
gsdu8g9 opened this issue Oct 25, 2016 · 3 comments
Closed

Pagination bug? #2636

gsdu8g9 opened this issue Oct 25, 2016 · 3 comments
Labels

Comments

@gsdu8g9
Copy link

gsdu8g9 commented Oct 25, 2016

I found this special issues during my tests with IPv4 and domains data using Hugo as site generator.

Categories = ["127.0.0.1"]

Such IPv4 like category name will have such link to second page.
Tested on 0.14, 0.15, 0.16, 0.17 versions of Hugo.

/categories/127.0.0/index.1/page/2/

Сonfig file includes these options:

preserveTaxonomyNames = true
uglyURLs = false
disablePathToLower = true

With such category

Categories = ["ns1.someverynicewebhostingservice.com."]

Hugo will produce this such link to second page.

/categories/ns1.someverynicewebhostingservice.com/index./page/2/

NS server was extracted from ns lookup with that dot at the end.

It looks like there is some bug related to dots in category names.

@gsdu8g9
Copy link
Author

gsdu8g9 commented Oct 25, 2016

I have forgotten to add that these links are 404. That is the issue.
But all generated files looks normal and they are located in right places on disk.

@bep
Copy link
Member

bep commented Oct 25, 2016

Duplicates #1885

@github-actions
Copy link

github-actions bot commented Apr 1, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants