This ticket is about WMS Server. See also ticket #1296 for related issues in the WMS client.
Both should probably be addressed at the same time (in 5.2?).