Ignore:
Timestamp:
Nov 1, 2010, 7:52:10 PM (13 years ago)
Author:
grum
Message:

KML/KMZ files with spaces in file name are not managed
bug:1985

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GMaps/gmaps_root.class.inc.php

    r7500 r7547  
    274274        {
    275275          // if an kml file id is given, apply the url of the file (needs to give the complete URI for google)
    276           if($row['kmlFileId']>0 and $row['kmlFileUrlId']!='') $row['kmlFileUrl']=dirname($_SERVER['SCRIPT_URI']).self::KML_DIRECTORY.$row['kmlFileUrlId'];
     276          if($row['kmlFileId']>0 and $row['kmlFileUrlId']!='') $row['kmlFileUrl']=dirname($_SERVER['SCRIPT_URI']).self::KML_DIRECTORY.rawurlencode($row['kmlFileUrlId']);
    277277
    278278          if($row['displayType']!='MP' and $mode==self::ID_MODE_CATEGORY)
Note: See TracChangeset for help on using the changeset viewer.