mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
This was re-encoding the search slug each loop - if the category list was not the first category in the list, it'd continually search with a re-encoded search term from the previous iteration. This results in ember 404ing when navigating to raw encoded category slugs of the form /c/encoded-slug-with-non-ascii that have no ID attached.