We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37c17b2 + c8ea37a commit ec43eedCopy full SHA for ec43eed
lib/redmine_view_customize/view_hook.rb
@@ -3,7 +3,7 @@
3
module RedmineViewCustomize
4
class ViewHook < Redmine::Hook::ViewListener
5
def view_layouts_base_html_head(context={})
6
- path = Redmine::CodesetUtil.replace_invalid_utf8(context[:request].path_info);
+ path = sanitize(Redmine::CodesetUtil.replace_invalid_utf8(context[:request].path_info));
7
8
html = "\n<!-- [view customize plugin] path:#{path} -->\n"
9
html << stylesheet_link_tag("view_customize", plugin: "view_customize")
0 commit comments