FIX: parameterize tag_id

FIX: parameterize tag_id

diff --git a/app/controllers/list_controller.rb b/app/controllers/list_controller.rb
index bf07fdc..8339d8b 100644
--- a/app/controllers/list_controller.rb
+++ b/app/controllers/list_controller.rb
@@ -368,7 +368,7 @@ class ListController < ApplicationController
   def build_topic_list_options
     options = {}
     params[:page] = params[:page].to_i rescue 1
-    params[:tags] = [params[:tag_id]] if params[:tag_id].present? && guardian.can_tag_pms?
+    params[:tags] = [params[:tag_id].parameterize] if params[:tag_id].present? && guardian.can_tag_pms?
 
     TopicQuery.public_valid_options.each do |key|
       options[key] = params[key]

GitHub sha: 18f50ca0

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/unable-to-see-pm-lists-for-non-ascii-tag/151723/4