Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha2
-
Fix Version/s: 2.0-Alpha3
-
Component/s: Java Client
-
Labels:None
-
Environment:n/a
Description
in http.js:
appendToURI(parameters,uri) doesn't check if the uri already has parameters and will create a uri that includes multiple '?' characters, breaking the parameters
appendToURI(parameters,uri) doesn't check if the uri already has parameters and will create a uri that includes multiple '?' characters, breaking the parameters
Issue Links
- blocks
-
PUSH-46 ICEchat JSP version
-
- Closed
-
Activity
Assignee | Mircea Toma [ mircea.toma ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #20845 | Tue Mar 02 16:22:32 MST 2010 | mircea.toma | |
Files Changed | ||||
![]() |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Fix Version/s | 1.0-Alpha3 [ 10224 ] | |
Affects Version/s | 1.0-Alpha2 [ 10223 ] | |
Affects Version/s | 1.0-Alpha3 [ 10224 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
recommended patch
Index: /home/philip/workspace/ICEpush/core/src/main/javascript/lib/http.js
===================================================================
— /home/philip/workspace/ICEpush/core/src/main/javascript/lib/http.js (revision 20781)
+++ /home/philip/workspace/ICEpush/core/src/main/javascript/lib/http.js (working copy)
@@ -73,7 +73,7 @@
method(appendToURI, function(self, uri) {
{ - return uri + '?' + asURIEncodedString(self); + return uri + ( uri.indexOf('?') == -1 ? '?' : '&' ) + asURIEncodedString(self); }if (not(isEmpty(parameters)))
else
{ return uri; }