summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-05-31 23:55:21 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-31 23:55:21 +0000
commitb0aabe1553cae0df7282d3f1e309c09b4210f930 (patch)
treec38c75f2c5f6ce5092b17d902a6b116b3a69d4bc
parentd63e7805c1a51d25d6461395a9e1471856bfa45b (diff)
downloadgitlab-ce-b0aabe1553cae0df7282d3f1e309c09b4210f930.tar.gz
Add latest changes from gitlab-org/security/gitlab@13-12-stable-ee
-rw-r--r--app/views/doorkeeper/authorizations/redirect.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/doorkeeper/authorizations/redirect.html.haml b/app/views/doorkeeper/authorizations/redirect.html.haml
index 2fefbac3802..9580f33c88a 100644
--- a/app/views/doorkeeper/authorizations/redirect.html.haml
+++ b/app/views/doorkeeper/authorizations/redirect.html.haml
@@ -3,5 +3,6 @@
%div
%a{ :href => redirect_uri } Click here to redirect to #{redirect_uri}
-:javascript
- window.location= "#{redirect_uri}";
+= javascript_tag do
+ :plain
+ window.location= "#{redirect_uri}";