Changeset 3194 for trunk/modules

Show
Ignore:
Timestamp:
07/22/2008 02:12:21 PM (4 months ago)
Author:
Shadowhand
Message:

Don't rawurlencode address queries, it will break UTF-8 names because http_build_query already does encoding. Whoops!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/gmaps/libraries/Gmap.php

    r3191 r3194  
    9191                { 
    9292                        // Set the XML URL 
    93                         $xml = Gmap::api_url('maps/geo', array('output' => 'xml', 'q' => rawurlencode($address))); 
     93                        $xml = Gmap::api_url('maps/geo', array('output' => 'xml', 'q' => $address)); 
    9494 
    9595                        // Disable error reporting while fetching the feed