Topic with Japanese in URL doesn't redirect if URL doesn't perfectly match

In community.wanikani.com, opening any links to topics with Japanese in the fully qualified URL stopped working when opening them in a new tab or directly copying and pasting the link. Clicking the link to navigate within the same tab still works.

For example, opening this link in a new tab should navigate to

キノの旅 Home Thread (Intermediate Book Club) - Reading - WaniKani Community

But instead it tries to navigate to

https://community.wanikani.com/t/キノの旅-home-thread-intermediate-book-club/34890

which fails to load.

If the link happens to match exactly, it works fine. But of course with topic renames this is often not the case.

I also tried to reproduce on try.discourse.org, but on that install Japanese characters never get added to the URL even when included in the topic title. I’m not sure why that’s the case, but without that happening I can’t demonstrate the bug there.

1 Like

Both are links to topic 34890. Both load fine for me in Firefox. What is the problem?

1 Like

sigh It looks like it might be yet another Chrome bug. It works fine for me in both Firefox and Edge. Weirdly it works the first time in an incognito window, but then fails the second time. Same thing after clearing site cache/cookies and restarting my computer.

Chrome says the error is too many redirects.


Would you mind checking in Chrome to confirm if it’s an issue there in general and not just a problem for me? Just be sure to try to open the page multiple times since the first one seems to work fine. I appreciate the help!

2 Likes

I can repro it on Chrome mobile. :bug:

3 Likes

Thanks. I guess I’ll report it to Google.

1 Like

On my android phone on chrome the second link redirects indefinitely.

1 Like

Still with Chrome? Just want to be sure before reporting it to them. I assume nothing changed related to this recently on Discourse? (Regardless, this would probably still be a Chrome issue since it just happens there, even if something did change on Discourse.)

3 Likes

Wait a bit, this may be Discourse. Even a service worker bug.

3 Likes

Okay, thanks for the update.

1 Like

Any update on this?

This is going to take a while to sort out, it is assigned out so it will not fall between cracks.

5 Likes

Hey Seanblue, Please confirm me if you find perfect solution

I don’t expect to find any kind of solution or workaround. We just have to wait for it to be fixed.