Quantcast

[Bug 1849] New: LayerAttributes.php uses file_get_contents instead of HTTPClient

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

[Bug 1849] New: LayerAttributes.php uses file_get_contents instead of HTTPClient

bugzilla-daemon (Bugzilla)-13
http://bugzilla.maptools.org/show_bug.cgi?id=1849

           Summary: LayerAttributes.php uses file_get_contents instead of
                    HTTPClient
           Product: Chameleon
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


So this won't work in environments where a proxy is needed to go outside.

The fix for function getWFSResource is something like:

    else
    {
        //$szXMLFile = file_get_contents( $szURL );
        // use the http client
        include_once(COMMON."/http/HTTPClient.php");
        $oHTTPClient = new HTTPClient("", 30);
        $szXMLFile = $oHTTPClient->doGET($szURL);
    }



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
_______________________________________________
Chameleon-dev mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/chameleon-dev
Loading...