.. _changelog-6-2-2:

******************************************
 MapServer 6.2.2 Changelog
******************************************

* Fix potential SQL Injection with postgis TIME filters ( `#4834 <https://github.com/mapserver/mapserver/issues/4834>`__ ) (Even Rouault) : `3a10f6b <https://github.com/mapserver/mapserver/commit/3a10f6b829297dae63492a8c63385044bc6953ed>`__
* Fix memory corruption on empty raster query ( `#4778 <https://github.com/mapserver/mapserver/issues/4778>`__ ) (Thomas Bonfort) : `e83a0cb <https://github.com/mapserver/mapserver/commit/e83a0cb57e554884aaf37cbae330602c726d4868>`__
* Fix A layer using a mask and a label with repeatdistance can crash ( `#4764 <https://github.com/mapserver/mapserver/issues/4764>`__ ) (Alan Boudreault) : `f82d6c8 <https://github.com/mapserver/mapserver/commit/f82d6c8946c91dbeeb38a8a7d5b0aa674f8002b3>`__
* align parameter not saved ( `#3057 <https://github.com/mapserver/mapserver/issues/3057>`__ ) (szekerest) : `c4a70d7 <https://github.com/mapserver/mapserver/commit/c4a70d763c95e7e607bdcd1fa7045c88e4620e14>`__
* Adjust exceptionCode in WCS 2.0 ( `#4735 <https://github.com/mapserver/mapserver/issues/4735>`__ ). (Stephan Meissl) : `36e2f74 <https://github.com/mapserver/mapserver/commit/36e2f744cd4c0283c95d1382090ed1a30a6dae6e>`__
* Fix NULL type shp creation in tile4ms ( `#4259 <https://github.com/mapserver/mapserver/issues/4259>`__ ) (Thomas Bonfort) : `d3ec344 <https://github.com/mapserver/mapserver/commit/d3ec34402591526f2828bc93b1d484ec06ffa472>`__
* Resolving previously introduced warning. (Stephan Meissl) : `04a51b4 <https://github.com/mapserver/mapserver/commit/04a51b4bba3cd4c51e20cc4548dce7433db0e0e2>`__
* Adjusting exceptionCode in WCS 2.0. (Stephan Meissl) : `bd4693a <https://github.com/mapserver/mapserver/commit/bd4693a7f77da02d01b3c4a4be523d2c3175a3b0>`__
* Fix some warnings (Alan Boudreault) : `a592467 <https://github.com/mapserver/mapserver/commit/a592467489990eaf0b44401019c2f30642b39c0c>`__
* Fixing typo. (Fabian Schindler) : `8c16d51 <https://github.com/mapserver/mapserver/commit/8c16d516af55b69ded6727daa30d65b14b88a1f9>`__
* Directly rendering exception messages during parsing. Wrong 'mediatype' values now produce exceptions. Fixing HTML status codes for various exception types. (Fabian Schindler) : `b420b71 <https://github.com/mapserver/mapserver/commit/b420b71a2692ea0cb9c2dc73e763dc3d77d2dbcf>`__
* Fixing interpretation of return value for `msWCSParseRequest20`. `MS_DONE` now means that the exception has already been written to the IO buffer. (Fabian Schindler) : `5a0869a <https://github.com/mapserver/mapserver/commit/5a0869a4eb0639fc4183d14df4c59581d0955ab0>`__
* Fix Memory leak in UVRaster layers ( `#4706 <https://github.com/mapserver/mapserver/issues/4706>`__ ) (Alan Boudreault) : `dad572e <https://github.com/mapserver/mapserver/commit/dad572e62f8b8af1118b2f46dd89463d9ec84b2d>`__
* Correcting version attribute in WCS exceptions ( `#4717 <https://github.com/mapserver/mapserver/issues/4717>`__ ). (Stephan Meissl) : `8d7380b <https://github.com/mapserver/mapserver/commit/8d7380b0c6c074efc336796f0cedd66d73015f29>`__
* fix crashes on error'd WCS getcoverage requests ( `#4714 <https://github.com/mapserver/mapserver/issues/4714>`__ ) (Thomas Bonfort) : `7e87f2c <https://github.com/mapserver/mapserver/commit/7e87f2c12562b237cc220c3121129a5db8404059>`__
* avoid rendering symbols with 0 scale ( `#4654 <https://github.com/mapserver/mapserver/issues/4654>`__ ) (Thomas Bonfort) : `e3bd202 <https://github.com/mapserver/mapserver/commit/e3bd202852abaf892cb2d4516f3ff1fd2c9be489>`__
* Add support for shapefiles with uppercase extension on Linux ( `#4712 <https://github.com/mapserver/mapserver/issues/4712>`__ ) (Even Rouault) : `d72848e <https://github.com/mapserver/mapserver/commit/d72848eebd51ba2bba41b730db3e0dcf69b4b34b>`__
* printed color alpha value in map file (Luigi Pirelli) : `51c7a35 <https://github.com/mapserver/mapserver/commit/51c7a357bd48c23d08e350d45e4d47cf9694b0eb>`__
* solved symbol size trunc bug thanks to tbonfort (Luigi Pirelli) : `cc62353 <https://github.com/mapserver/mapserver/commit/cc62353d3c446a18e1a69d684feea1745ab34b69>`__
* Replace strlcpy with strncpy in `msIO_stripStdoutBufferContentType()` (Homme Zwaagstra) : `70a8c29 <https://github.com/mapserver/mapserver/commit/70a8c298edb84245321bd0080e21363ecc9a2fb3>`__
* Fix segfault in ms_newMapObjFromString (PHP/MapScript) (Alan Boudreault) : `dc3915d <https://github.com/mapserver/mapserver/commit/dc3915db24d73d00e188c0537476eac6639853a6>`__
* Small fix to shpxy in templates (Jerome Villeneuve Larouche) : `d4df7b0 <https://github.com/mapserver/mapserver/commit/d4df7b059b9f02e09ee5c68f527eb339664da8b4>`__
* Handle Content-Type HTTP headers with a charset appended. (Bas Couwenberg) : `72a9a19 <https://github.com/mapserver/mapserver/commit/72a9a19831c2e434e7beb0fc55acadbfdc26cfd1>`__
* Resolving  `#4638 <https://github.com/mapserver/mapserver/issues/4638>`__ . (Stephan Meissl) : `937dcb6 <https://github.com/mapserver/mapserver/commit/937dcb6857501835b5489fa4bea321105412a20b>`__
* Fix rendering legend icons for labelpnt and labelpoly geometry transformations ( `#4642 <https://github.com/mapserver/mapserver/issues/4642>`__ ) (szekerest) : `929ed6f <https://github.com/mapserver/mapserver/commit/929ed6fae092dfc532391529e8250659d108081a>`__
* Fixing segfault for POST requests when no content-type is set. See issue  `#4650 <https://github.com/mapserver/mapserver/issues/4650>`__ . (Fabian Schindler) : `cec80bf <https://github.com/mapserver/mapserver/commit/cec80bf80d0fa65ec9dcc977536ffeaa371db0e0>`__
* add support for reentrant giflib>=5.0 ( `#4646 <https://github.com/mapserver/mapserver/issues/4646>`__ ) (Thomas Bonfort) : `fe843bf <https://github.com/mapserver/mapserver/commit/fe843bf95c1d070ebb676855fcbba7239ad66e2c>`__
* Clean up the extra class added when rendering pie charts ( `#4645 <https://github.com/mapserver/mapserver/issues/4645>`__ ) (szekerest) : `de78f06 <https://github.com/mapserver/mapserver/commit/de78f0642884251809e496751f216d9ea52b5db7>`__
* Legend icons do not reflect geometry transformations ( `#4642 <https://github.com/mapserver/mapserver/issues/4642>`__ ) (szekerest) : `8763f91 <https://github.com/mapserver/mapserver/commit/8763f91ac5de4c26a5c7d05859c8a1deae340ec3>`__
* The text param of point->draw in php is now optional, no need of strlen(labeltext) in libmapserver ( `#4572 <https://github.com/mapserver/mapserver/issues/4572>`__ ) (Alan Boudreault) : `b8c297c <https://github.com/mapserver/mapserver/commit/b8c297ceb35a824dd21074cb527b5ce78262c32f>`__
* Fix rendering annotation layers with expressions in legend ( `#4641 <https://github.com/mapserver/mapserver/issues/4641>`__ ) (szekerest) : `e992603 <https://github.com/mapserver/mapserver/commit/e9926036542a11572adc08ebe028a8064f87a342>`__
* Added per-label TEXT attribute in xml schema and xsl (closes  `#4639 <https://github.com/mapserver/mapserver/issues/4639>`__ ) (Alan Boudreault) : `1097872 <https://github.com/mapserver/mapserver/commit/1097872f8eccf9bc4a6cbf118dfa629315c6f857>`__
