掲示板 Forums - broken forum bug
Top > renshuu.org > Bugs / Problems Getting the posts
Top > renshuu.org > Bugs / Problems
in a topic I recently created (tested when not logged in), I generated a 401 authorization error in my last forum post.
for example
if you click this link to forum post, you get sign in popup authorization issue: https://jp.renshuu.org/forums/topics/16465/incorrect_kana_type_frequency_%28hiragana_vs_katakana%29
but if you remove the title of the post, you can access it like this: https://jp.renshuu.org/forums...
I thought issue was caused by parentheses in the post title, but I tried to replicate it and could not reproduce the bug. sorry Michael this was not intentional I was just making a post and then this happened
let me know and I can move it to a new thread. I am leaving the "broken post" up for now so maybe u can see what is triggering the bug.
on the topic of forums, I noticed that whenever I post in a thread, I'm redirected to the first page instead of staying on the page where my newly added post is.
on the topic of forums, I noticed that whenever I post in a thread, I'm redirected to the first page instead of staying on the page where my newly added post is.
It's the same for me, though it never bothered me, I just scrolled back to the page I'm on.
That's a very weird bug.
The forums seem to "discard" anything after the thread ID in the URL, so technically you could write anything there. For example, for this thread, you have the "real" URL:
https://app.renshuu.org/forums/topics/16466/broken_forum_bug
But you could also change it to any random text and it will work too:
https://app.renshuu.org/forums/topics/16466/this_is_an_example
I tried experimenting with modifying the URL of your thread, and concluded that the issue is caused by any URL where the path segment starts with "inc". If you remove the 'c' from the end of this url, it will work:
https://app.renshuu.org/forums/topics/16465/inc
Taking it further, it appears that this will happen for any URL in Renshuu that has a path starting with "inc":
https://app.renshuu.org/inc https://app.renshuu.org/forums/inc
I suspect that this might be an internal admin page, but presumably the Nginx configuration has a configuration error where it's serving this password protected page from any URL with that prefix, rather than a single specific path. At the very least, it seems like it would need to be adjusted to exclude forums URLs, since this would imply any thread created where the title starts with "incorrect" will cause this issue.
Very good catch - the auth checks were a bit too broad, but should be good now.
As to the "return to page 1" - it appears to be fixed on my end, but I don't want to spam any live threads on the main server. If you post on any multi-page threads, let me know if it works.
If it does NOT, I'd love to see exactly what the url looks like that it redirected you to.