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.
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.