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 1877e77  KNOX-2665 Knox redirecting.jsp parsing error (#522)
1877e77 is described below

commit 1877e776bea8ea93a61c3951ec961e5901d63fc5
Author: Attila Magyar <[email protected]>
AuthorDate: Tue Dec 14 15:35:05 2021 +0100

    KNOX-2665 Knox redirecting.jsp parsing error (#522)
---
 .../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 7a2b94c..4acbd83 100644
--- 
a/gateway-applications/src/main/resources/applications/knoxauth/app/redirecting.jsp
+++ 
b/gateway-applications/src/main/resources/applications/knoxauth/app/redirecting.jsp
@@ -79,7 +79,7 @@
     document.addEventListener("load", redirectOnLoad());
 
     function redirectOnLoad() {
-      var originalUrl = <%= originalUrl %>;
+      var originalUrl = "<%= originalUrl %>";
       if (originalUrl != null) {
         redirect(originalUrl);
       }

Reply via email to