Skip to content

Commit

Permalink
Sanitize confirmation parameters (#2736)
Browse files Browse the repository at this point in the history
  • Loading branch information
pglombardo authored Nov 6, 2024
1 parent 744291a commit c680b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/devise/confirmations/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<div class="container-fluid h-100 mx-0 py-0 px-0 bg-light">
<div class="d-flex flex-column min-vh-100 justify-content-center align-items-center bg-light">
<%= link_to t('confirmation_go'), user_confirmation_path({ confirmation_token: params[:confirmation_token], go: true}) %>
<%= link_to t('confirmation_go'), user_confirmation_path({ confirmation_token: h(params[:confirmation_token]), go: true}) %>
</div>
</div>

0 comments on commit c680b85

Please sign in to comment.