From 61636ad55399ac2bad19ef1e206d61dcbc39631d Mon Sep 17 00:00:00 2001 From: chiu Date: Mon, 2 Mar 2026 02:41:39 +0000 Subject: [PATCH] Remove unnecessary attributes and add new names to avoid false positives from weak scans. --- app/views/announcements/index.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/announcements/index.html.erb b/app/views/announcements/index.html.erb index 1b4c2e4..68362b3 100644 --- a/app/views/announcements/index.html.erb +++ b/app/views/announcements/index.html.erb @@ -54,7 +54,7 @@ %>
<%= select_tag('category',options_for_select(all_cat.concat(cats.map{|v| [v.title,v.id.to_s]}),:selected => @params['category'].to_s),:id=>"category_select_box") %> - " placeholder="<%= t('announcement.keywords') %>"> + " placeholder="<%= t('announcement.keywords') %>">
" placeholder="<%= t('announcement.stime') %>" data-format="yyyy/mm/dd"> @@ -64,7 +64,6 @@ " placeholder="<%= t('announcement.etime') %>" data-format="yyyy/mm/dd">
-