Decode plugin title before using it

This commit is contained in:
Alex Ling 2020-07-26 12:56:46 +00:00
parent c6adb4ee18
commit 361d37d742
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class MainRouter < Router
plugins = Plugin.list plugins = Plugin.list
if title if title
plugin = Plugin.new title plugin = Plugin.new URI.decode title
else else
plugin = Plugin.new plugins[0] plugin = Plugin.new plugins[0]
end end