Code Climate is giving me a "Cross Site Scripting" error on this line of code in one of the html.haml:
= link_to 'Next', @redirect_uri, data: { no_turbolink: true }, class: 'btn btn-primary'
In the controller, @redirect_uri is:
@redirect_uri = params[:redirect_uri] << "&show_more_pages=false"
params[:redirect_uri] is a very long url with the redirect uri in it.
What exactly is wrong and how can I make Code Climate happy?