Discourse 임베드는 URL을 소문자로 정규화합니다

I’m using discourse embed on my static site, and the auto-posted link to my discourse forum shows up as all lowercase, which is wrong. Here’s an example: https://forest.localcharts.org/ocl-001B.xml posted to here, which I had to manually edit back from lowercase to uppercase.

1개의 좋아요

Was it working properly before at one time?

yea the embed isn’t even loading in safe mode and shows errors in console :thinking:

Have you changed anything recently with your CSP or blocklist addresses?

The URL is normalized and downcase as well here, before being saved in the database:

Due to the ID part being case-sensitive, the HTML could not be retrieved, resulting in a loading error.

Maybe the URL should be stored normalized without downcasing, and you should only downcase the URL when needed. :thinking:

1개의 좋아요