Changeset 12905
- Timestamp:
- 02/28/09 10:59:59 (3 years ago)
- File:
-
- 1 edited
-
trunk/Xul_Cms/components/scHttpDataProvider.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Xul_Cms/components/scHttpDataProvider.js
r12861 r12905 420 420 421 421 getAgentUrl : function(pIdInstance, pUrlDialogAndParams){ 422 return this.fUrlAgent + pIdInstance+ pUrlDialogAndParams;422 return this.fUrlAgent + encodeURIComponent(pIdInstance) + pUrlDialogAndParams; 423 423 }, 424 424 … … 585 585 try { 586 586 //debug("loadFromAgent="+pUrlDialogAndParams); 587 var vUrl = this.fUrlAgent + pIdInstance+ pUrlDialogAndParams;587 var vUrl = this.fUrlAgent + encodeURIComponent(pIdInstance) + pUrlDialogAndParams; 588 588 var vReq = Components.classes["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance(Components.interfaces.nsIXMLHttpRequest); 589 589 vReq.open("GET", vUrl, true, this.fUser.fAccount, this.fUser.fPassword);
Note: See TracChangeset
for help on using the changeset viewer.