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

I agree 1 is a better path to take, I would recommend continuing down this path

「いいね!」 7

Pull request is up

https://github.com/discourse/discourse/pull/8158

「いいね!」 9

I see this was merged. How long does it usually take to get deployed to a hosted site?

「いいね!」 1

faced similar problem after we’ve updated to latest today. reporting here to see if it is the same bug. is it?

this topic doesn’t load and it gives us 400 bad request:

or this one opens up as a blank page:

https://padpors.com/t/نقد-حرکتِ-«شکل-دادن-به-بانکی-از-پرسش‌‌ها-و-مسئله��/6841

update: for the moment we’ve changed the slug generation method to ascii, as any topic with long topic length happened to open blank or with 400-error.

Are we good on this @Falco?

I confirm the bug has been fixed (just updated Discourse)

Thanks Discourse team :v:

「いいね!」 5

I updated my discourse but I am still facing the same issue.

Are you on tests-passed? How did you update?

「いいね!」 1

I realized that some topics are showing 400 Bad Request, examples

https://forums.coretabs.net/t/مشكلة-في-عمل-فورمة-تسجيل-بيانات-للمستخدم-بـ-دجانج%/3117
https://forums.coretabs.net/t/كيف-أغير-الواجهة-في-vue-حسب-الحالة-مسجل-دخول-غير-مسجل%/3109
https://forums.coretabs.net/t/مشروع-يضم-مبرمجين-لتطبيقات-الموبايل-مع-مبرمجين-ا%D/2843/9

The common thing is that they all have % symbol

While other “working” topics do not have that symbol.

  • I tried putting the IP address of the server instead of forums.coretabs.net, and nginx shows the same error (instead of cloudflare).
「いいね!」 1

Always via Discourse updater. The right way!

That doesn’t really answer my question. Which version are you on according to /admin?

Did you visit /admin/update to force an update? You won’t be alerted unless a new beta release goes out and need to manually visit that URL to grab the incremental updates to tests-passed.

「いいね!」 2

Hello @Stephen,

You are right. I wasn’t notified for this update, after visiting the upgrade page, there was a new update. It fixed my problem. Thank you @Falco for the fix.

-=-=-=- Update -=-=-=-
After upgrade, some pages get 400 Error just like the problem @YaserAlnajjar is facing here.

「いいね!」 5

@Pad_Pors @YaserAlnajjar @Arta_S just merged another round of fixes, please update and check it out.

「いいね!」 6

Hi @Falco, I just updated and unfortunately the problem continues. :anguished:

「いいね!」 4

Are you using encoded slug generation method, and was it set to that during the update?

「いいね!」 3

Honestly, I don’t know what method using … only that my forum is in Spanish language and after updating, the categories whose name bears “accent” show error 404.

「いいね!」 3

Oh my I spent so much looking into this, and looks like you are using ascii slugs. Please revert back to encoded.

「いいね!」 5

How should I do this? any guide or tutorial… thanks for you help.

「いいね!」 2

Search the site settings slug generation method in your admin dashboard.

「いいね!」 5

Great, great, thanks! … I change for encoded and everything works now!

Ascii was the one by default … I still don’t understand what differences these make, but at least it works for me. :clap:

「いいね!」 2