GetFeatureInfo HTML template loading is not thread-safe

Description

The code that loads the FreeMarker templates for a WMS GetFeatureInfo request with HTML output is not thread-safe. This could cause GeoServer to load the wrong template while handling concurrent GetFeatureInfo requests which could cause incorrect output or errors processing the template.

Environment

None

Assignee

Unassigned

Reporter

Steve Ikeoka

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure