Commit cc2dab3b authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'rs-fix-2fa-codes-lint' into 'master'

Fix haml-lint error in 2FA codes partial

Closes #51585

See merge request gitlab-org/gitlab-ce!21786
parents 2a7b1367 d98d8539
......@@ -12,4 +12,4 @@
.d-flex
= link_to 'Proceed', profile_account_path, class: 'btn btn-success append-right-10'
= link_to 'Download codes', "data:text/plain;charset=utf-8,#{URI.encode(@codes.join("\n"))}", download: "gitlab-recovery-codes.txt", class: 'btn btn-default'
= link_to 'Download codes', "data:text/plain;charset=utf-8,#{CGI.escape(@codes.join("\n"))}", download: "gitlab-recovery-codes.txt", class: 'btn btn-default'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment