Skip to content

Commit

Permalink
Fix possible remote execution code exploit in TourController
Browse files Browse the repository at this point in the history
  • Loading branch information
ggiraldez committed Mar 2, 2017
1 parent 037aac7 commit 6ef04f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/tour_controller.rb
Expand Up @@ -17,6 +17,6 @@

class TourController < ApplicationController
def show
render (params[:page] ||= 'start')
render (params[:page].to_s ||= 'start')
end
end
end

0 comments on commit 6ef04f8

Please sign in to comment.