forked from saurabh/personal-book
add xss protection
This commit is contained in:
parent
8202a92098
commit
ee134378b6
|
@ -118,7 +118,7 @@ class PersonalBooksController < 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' => books_total_pages,
|
'total_pages' => books_total_pages,
|
||||||
|
|
Loading…
Reference in New Issue