forked from saurabh/personal-project
add xss protection
This commit is contained in:
parent
b1dac37682
commit
6c650199b4
|
@ -96,7 +96,7 @@ class PersonalProjectsController < ApplicationController
|
||||||
'url' => '/' + params[:locale] + params[:url],
|
'url' => '/' + params[:locale] + params[:url],
|
||||||
'select_text' => select_text,
|
'select_text' => select_text,
|
||||||
'search_text' => search_text,
|
'search_text' => search_text,
|
||||||
'search_value' => params[:keywords],
|
'search_value' => params[:keywords].gsub(/\"/,''),
|
||||||
'csrf_value' => csrf_value },
|
'csrf_value' => csrf_value },
|
||||||
'total_pages' => projects_total_pages,
|
'total_pages' => projects_total_pages,
|
||||||
'choice' => choice
|
'choice' => choice
|
||||||
|
|
Loading…
Reference in New Issue