svn commit r22872 - trunk/wsf/javascript/native/src

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

svn commit r22872 - trunk/wsf/javascript/native/src

Jonathan Marsh-2
Author: jonathan
Date: Fri Oct 24 11:05:30 2008
New Revision: 22872
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=22872

Log:
Proxy determination fix for iGoogle-hosted gadgets.

Modified:
   trunk/wsf/javascript/native/src/WSRequest.js

Modified: trunk/wsf/javascript/native/src/WSRequest.js
URL: http://wso2.org/svn/browse/wso2/trunk/wsf/javascript/native/src/WSRequest.js?rev=22872&r1=22871&r2=22872&view=diff
==============================================================================
--- trunk/wsf/javascript/native/src/WSRequest.js (original)
+++ trunk/wsf/javascript/native/src/WSRequest.js Fri Oct 24 11:05:30 2008
@@ -220,7 +220,7 @@
         var scriptId = Math.random().toString().substring(3);
 
         var tunnelDomain;
-        if (this.proxyAddress == null) {
+        if (this.proxyAddress == null || this.proxyAddress == "") {
             if (this._uri.indexOf("http") == 0)
                 tunnelDomain = this._uri.substring(0,this._uri.indexOf("/services/"));
             else throw new WebServiceError("Unspecified WSRequest.proxyAddress property - must specify when using script-injection fallback when endpoint is not http or https.")

_______________________________________________
Wsf-javascript-dev mailing list
[hidden email]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/wsf-javascript-dev
Loading...