Update symbol references when removing a symbol (#4656)
Handle Content-Type HTTP headers with a charset appended.

The fix for #4585 in cgiutil.c is also needed in mapows.c to handle Content-Type HTTP headers with a charset appended.
Merge branch 'branch-6-2'
Small fix to shpxy in templates
Merge branch 'branch-6-2'
Fixes Issue: #4666

Please check reasoning behind this code to ensure we're not
introducing another bug.

  NOTE:
!EQUAL(base->shape.values[i], "")
  should change to
EQUAL(base->shape.values[i], "")
  but becomes a noop!