You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by sm...@apache.org on 2021/09/16 14:47:47 UTC

[knox] branch master updated: KNOX-2665 Knox redirecting.jsp parsing error (#496)

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....@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);
       }