For the record, there is also already a workaround in ``ol.source.wms.getUrl`` for this issue, see: https://github.com/openlayers/ol3/blob/master/src/ol/source/wmssource.js#L48-50