Vocabulary dictionary

Kanji dictionary

Grammar dictionary

Sentence lookup

test
 

Forums - broken forum bug

Top > renshuu.org > Bugs / Problems



avatar
myuu3
Level: 63

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 kao_lazy.png 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.

2
16 days ago
avatar
Karlla
Level: 910

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.

3
14 days ago
avatar
Karlla (0326, 18:16)

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.

2
13 days ago
avatar
Reduviidae
Level: 57

That's a very weird bug.

Some background notes

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


Investigating the issue

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.

1
13 days ago
avatar
マイコー
Level: 328

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.

1
1 day ago
Getting the posts




Top > renshuu.org > Bugs / Problems


Loading the list
Lv.

Sorry, there was an error on renshuu! If it's OK, please describe what you were doing. This will help us fix the issue.

Characters to show:





Use your mouse or finger to write characters in the box.
■ Katakana ■ Hiragana