deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject deltaspike git commit: DELTASPIKE-1144 fixed infinite redirects which occurs with url encoded chars in the dswid parameter
Date Tue, 17 May 2016 15:52:02 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master b100e47e6 -> 8659d998e


DELTASPIKE-1144 fixed infinite redirects which occurs with url encoded chars in the dswid
parameter

Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/8659d998
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/8659d998
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/8659d998

Branch: refs/heads/master
Commit: 8659d998efa8594f202fa4cc1977898d0c56caff
Parents: b100e47
Author: tandraschko <tandraschko@apache.org>
Authored: Tue May 17 17:51:28 2016 +0200
Committer: tandraschko <tandraschko@apache.org>
Committed: Tue May 17 17:51:28 2016 +0200

----------------------------------------------------------------------
 .../main/resources/META-INF/resources/deltaspike/windowhandler.js  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/8659d998/deltaspike/modules/jsf/impl/src/main/resources/META-INF/resources/deltaspike/windowhandler.js
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jsf/impl/src/main/resources/META-INF/resources/deltaspike/windowhandler.js
b/deltaspike/modules/jsf/impl/src/main/resources/META-INF/resources/deltaspike/windowhandler.js
index f4bdcb5..bf24141 100644
--- a/deltaspike/modules/jsf/impl/src/main/resources/META-INF/resources/deltaspike/windowhandler.js
+++ b/deltaspike/modules/jsf/impl/src/main/resources/META-INF/resources/deltaspike/windowhandler.js
@@ -424,7 +424,7 @@ window.dswh = window.dswh || {
                 for (var i = 0; i < queryParameters.length; i++) {
                     var queryParameter = queryParameters[i].split("=");
                     if (queryParameter[0] === name) {
-                        return queryParameter.length > 1 ? queryParameter[1] : "";
+                        return queryParameter.length > 1 ? decodeURIComponent(queryParameter[1])
: "";
                     }
                 }
             }


Mime
View raw message