Commit e436d023 authored by Andrea Aime's avatar Andrea Aime
Browse files

[GEOS-9070] OpenLayers2 preview does not trigger automatically on IE8

parent e06d98d6
......@@ -63,7 +63,7 @@ public class OpenLayers3MapOutputFormat extends AbstractOpenLayersMapOutputForma
return false;
Pattern MSIE_PATTERN = Pattern.compile("MSIE (\\d+)\\.");
Pattern MSIE_PATTERN = Pattern.compile(".*MSIE (\\d+)\\..*");
Matcher matcher = MSIE_PATTERN.matcher(agent);
if (!matcher.matches()) {
return true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment