mirror of https://github.com/getmango/Mango.git
Decode plugin title before using it
This commit is contained in:
parent
c6adb4ee18
commit
361d37d742
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue