terrestris / docker-geoserver

A basic docker geoserver image with JAI and marlin renderer running on tomcat
22 stars 20 forks source link

fix: avoid multiple adding of cors filter #35

Closed buehner closed 3 years ago

buehner commented 3 years ago

This is an important bug fix.

In case the same container has been started multiple times, the cors definition would have been added also multiple times. This leads to multiple defintion of the same filter and GeoServer will not start up anymore.

This change fixes this by checking whether the filter already exists.