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

Error handling for null forum link #36

Open
Dani21 opened this issue Jun 25, 2024 · 0 comments
Open

Error handling for null forum link #36

Dani21 opened this issue Jun 25, 2024 · 0 comments

Comments

@Dani21
Copy link
Contributor

Dani21 commented Jun 25, 2024

When going to the discuss/forum link for a site and that field is empty, currently the client is redirected to ./null. Instead it should probably return a 404. Here is a test case: https://supercharge.info/service/supercharge/discuss?siteId=1000

And this is the relevant part of the code:

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