[GEOS-6747] Layer preview error for GML3.2

Using the same url encoding for WFS as is used for WMS formats.