[mapguide-internals] Defect: Bad KML request crashes MapAgent

Jason Birch Jason.Birch at nanaimo.ca
Mon Jan 22 01:01:58 EST 2007


Hi,
 
Since we don't have Trac working yet...
 
By accident, I've found an issue in the KML service.  When requesting a GetLayerKML without specifying the required view window parameters (BBOX, etc) the MapAgent crashes.
 
Configuration:
 
Windows XP Pro SP2
MapGuide OS 1.1.0, bundled Apache/Php configuration
 
Steps to reproduce:
 
1. Call this URL
 
http://localhost:8008/mapguide/mapagent/mapagent.fcgi?OPERATION=GETMAPKML&VERSION=1.0.0&FORMAT=XML&DPI=96&MAPDEFINITION=Library%3A%2F%2FSamples%2FSheboygan%2FMaps%2FSheboygan.MapDefinition
 
2. Copy and paste the contents of the first network link definition into your browser.  It should look something like this but with a different session tag:
 
http://localhost:8008/mapguide/mapagent/mapagent.fcgi?OPERATION=GetLayerKml&VERSION=1&LAYERDEFINITION=Library://Samples/Sheboygan/Layers/Roads.LayerDefinition&DRAWORDER=8&FORMAT=XML&SESSION=a0798668-ffff-ffff-8000-00e02983d68a_en <http://localhost:8008/mapguide/mapagent/mapagent.fcgi?OPERATION=GetLayerKml&VERSION=1&LAYERDEFINITION=Library://Samples/Sheboygan/Layers/Roads.LayerDefinition&DRAWORDER=8&FORMAT=XML&SESSION=a0798668-ffff-ffff-8000-00e02983d68a_en> 
 
3. Watch as the MapAgent crashes and burns
 
Jason


More information about the mapguide-internals mailing list