Open ava3a13 opened 4 months ago
Hi there @ava3a13!
Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.
We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.
We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.
Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face:
Thanks for reporting this. I suspect this is still a problem in newer versions of Umbraco. We'd like some help getting it fixed!
Hi @ava3a13,
We're writing to let you know that we would love some help with this issue. We feel that this issue is ideal to flag for a community member to work on it. Once flagged here, folk looking for issues to work on will know to look at yours. Of course, please feel free work on this yourself ;-). If there are any changes to this status, we'll be sure to let you know.
For more information about issues and states, have a look at this blog post.
Thanks muchly, from your friendly Umbraco GitHub bot :-)
@iOvergaard I can get it fixed
Please go ahead, @ava3a13. I have assigned you 👍
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
12.3.3
Bug summary
GetContentRoute
accessesPathRelativeToDomain
with thecontentRoute.AbsolutePath
. Issue arrises for languages like Georgian, which by its definition are always encoded, and accessing variable is passed in its encoded form. I have a website that utilizes both paths for both languages ('ka' and 'en-US'), upon retrieving content first time the issue arises in the case whenever user tries to access content with /en/ prefix and Georgian suffix - and the Accept-Language header is present ("ka" in my case) Only solution was to useUri.UnescapeDataString(contentRoute.AbsolutePath)
but as it is an internal class, I had to move my source alongside core.Specifics
No response
Steps to reproduce
Create general list of items: e.g. News Create a news item - One with any English name and another in Georgian - "გამარჯობა უმბრაკო" Encode Georgian path and retrieve item with -
/umbraco/delivery/api/v1/content/item/en/news/%E1%83%92%E1%83%90%E1%83%9B%E1%83%90%E1%83%A0%E1%83%AF%E1%83%9D%E1%83%91%E1%83%90%20%E1%83%A3%E1%83%9B%E1%83%91%E1%83%A0%E1%83%90%E1%83%99%E1%83%9D/
You will see the result as below:
Expected result / actual result
The news item should be retrieved accordingly