add xss protection
This commit is contained in:
parent
b84234b385
commit
6681779b64
|
@ -102,7 +102,7 @@ class PersonalPatentsController < 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 },
|
||||||
'headers' => headers,
|
'headers' => headers,
|
||||||
'total_pages' => patents_total_pages,
|
'total_pages' => patents_total_pages,
|
||||||
|
|
Loading…
Reference in New Issue