mirror of
https://github.com/discourse/discourse.git
synced 2025-04-13 21:22:25 +08: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.