app/views/top.rhtml in Pimki-1.7.092 vs app/views/top.rhtml in Pimki-1.8.092
- old
+ new
@@ -31,10 +31,10 @@
<%= @web ? web.additional_style : "" %>
</style>
</head>
<% if @web && @page && @web.enable_dclick_edit && !%( new edit revision bliki bliki_new bliki_edit bliki_revision published ).include?(@action_name) %>
- <body ondblclick="location.href='../edit/<%= @page.name %>'">
+ <body ondblclick="location.href='../edit/<%= CGI.escape @page.name %>'">
<% else %>
<body>
<% end %>
<%= sub_template "menu" if web && web.enable_menu && !@hide_menu %>