qgis/Quantum-GIS — pull request #554 by mlechner (2013-04-24 11:05:07+00:00)
Title: Fix GetLegendGraphic jpeg/jpg FORMAT bug

Even GetCapabilities of a QGIS mapserver WMS tells jpeg is a valid format for GetLegendGraphic request, trying this format results in an exception telling that GetMap does not support "jpeg" format but works with the not listed "jpg". This pull request adds jpg, jpeg, image/jpg and image/jpeg as valid formats to GetMap and GetLegendGraphic requests