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

Can't access status page after setting the URL to /status/ #1409

Closed
2 tasks done
ouuan opened this issue Mar 24, 2022 · 2 comments
Closed
2 tasks done

Can't access status page after setting the URL to /status/ #1409

ouuan opened this issue Mar 24, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@ouuan
Copy link

ouuan commented Mar 24, 2022

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

No response

👟 Reproduction steps

  1. Change the URL of the default status page from /status/default to /status/.
  2. Try to access /status/ but the page is empty.

👀 Expected behavior

One or some of these possible solutions:

  1. Make the multi-status-page feature opt-in.
  2. Support setting the URL to /status/, and only redirect to /status/default if there's no such status page with the URL /status/.
  3. Prevent setting the URL to /status/.

😓 Actual Behavior

After setting the path of the default status page to empty, i.e. changing /status/default to /status/, I can't access the status page, and can't find out how to change it back without accessing the status page.

🐻 Uptime-Kuma Version

1.13.0

💻 Operating System and Arch

Arch Linux x86_64 5.15.29-1-lts

🌐 Browser

Mozilla Firefox 98.0.2

🐋 Docker Version

Docker version 20.10.13

🟩 NodeJS Version

No response

📝 Relevant log output

No response

@ouuan ouuan added the bug Something isn't working label Mar 24, 2022
@louislam
Copy link
Owner

Ops, I forgot to check empty. I will release the fix soon.

@louislam
Copy link
Owner

I recover the empty slug to /status/empty-slug-recover, so that you can access your status page again.

And also default is a special slug which /status redirects to /status/default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants