knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smol...@apache.org
Subject [knox] branch master updated: KNOX-2665 Knox redirecting.jsp parsing error (#496)
Date Thu, 16 Sep 2021 14:47:47 GMT
This is an automated email from the ASF dual-hosted git repository.

smolnar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git


The following commit(s) were added to refs/heads/master by this push:
     new 0acdbe3  KNOX-2665 Knox redirecting.jsp parsing error (#496)
0acdbe3 is described below

commit 0acdbe30f71b40ecd19288a0a9b0e4996186c67d
Author: Attila Magyar <m.magyar3@gmail.com>
AuthorDate: Thu Sep 16 16:47:43 2021 +0200

    KNOX-2665 Knox redirecting.jsp parsing error (#496)
---
 .../src/main/resources/applications/knoxauth/app/redirecting.jsp        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gateway-applications/src/main/resources/applications/knoxauth/app/redirecting.jsp
b/gateway-applications/src/main/resources/applications/knoxauth/app/redirecting.jsp
index 290da28..0b54c48 100644
--- a/gateway-applications/src/main/resources/applications/knoxauth/app/redirecting.jsp
+++ b/gateway-applications/src/main/resources/applications/knoxauth/app/redirecting.jsp
@@ -65,7 +65,7 @@
     document.addEventListener("load", redirectOnLoad());
 
     function redirectOnLoad() {
-      var originalUrl = <%= originalUrl %>;
+      var originalUrl = "<%= originalUrl %>";
       if (originalUrl != null) {
         redirect(originalUrl);
       }

Mime
View raw message