Showing
1 changed file
with
2 additions
and
1 deletions
@@ -140,7 +140,8 @@ var GetRequestParams = function() { | @@ -140,7 +140,8 @@ var GetRequestParams = function() { | ||
140 | var str = url.substr(1); | 140 | var str = url.substr(1); |
141 | strs = str.split("&"); | 141 | strs = str.split("&"); |
142 | for(var i = 0; i < strs.length; i ++) { | 142 | for(var i = 0; i < strs.length; i ++) { |
143 | - theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]); | 143 | + var paramNameVal = strs[i].split("="); |
144 | + theRequest[paramNameVal[0]] = unescape(paramNameVal[1]); | ||
144 | } | 145 | } |
145 | } | 146 | } |
146 | return theRequest; | 147 | return theRequest; |
-
Please register or login to post a comment