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

Changes in the homepage URL cause some systems to fail #2288

Closed
HouJP opened this issue Jan 8, 2024 · 2 comments
Closed

Changes in the homepage URL cause some systems to fail #2288

HouJP opened this issue Jan 8, 2024 · 2 comments
Labels
C-bug Category: A bug, incorrect or unintended behavior

Comments

@HouJP
Copy link

HouJP commented Jan 8, 2024

Problem

Changes in the homepage URL will cause some systems (e.g., giscus) that rely on the URL to fail.

Steps

Taking https://dp.matrixai.net/ as an example,

  1. Open the page https://dp.matrixai.net/, the URL is https://dp.matrixai.net/.
  2. Click on the first item in the table of contents, the URL changes to https://dp.matrixai.net/index.html.

The URLs in 1) and 2) point to the same content, but at different addresses, it causes some systems (e.g., giscus) that rely on the URL to fail.

Possible Solution(s)

No response

Notes

No response

Version

No response

@HouJP HouJP added the C-bug Category: A bug, incorrect or unintended behavior label Jan 8, 2024
@HouJP
Copy link
Author

HouJP commented Jan 8, 2024

Would you mind if I help fix this issue? :)

@HouJP
Copy link
Author

HouJP commented Jan 11, 2024

I found I can bypass this issue by nginx rewrite.

@HouJP HouJP closed this as completed Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: A bug, incorrect or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants
@HouJP and others