Ticket #1728 (closed bug: fixed)

Opened 4 years ago

Last modified 14 months ago

wkt parser fails in safari due to complex regex

Reported by: crschmidt Owned by: tschaub
Priority: minor Milestone: 2.11 Release
Component: Format.WKT Version: 2.6
Keywords: Cc:
State:

Description

due to  https://bugs.webkit.org/show_bug.cgi?id=18327 , the WKT parser can fail in Safari in some cases. One way we could make this less common would be to simplify our regular expressions used in WKT parsing, by (for example) using OpenLayers.String.trim first, then passing into paren-removing regexen, since the space removing at the beginning and end complicates the regex and makes it blow up the stack.

Change History

Changed 3 years ago by crschmidt

  • milestone changed from 2.8 Release to 2.9 Release

Bumping this unless I get my hands on a failure case again; this is a terrible ticket since I didn't provide steps to reproduce.

Changed 14 months ago by fredj

  • status changed from new to closed
  • resolution set to fixed

the upstream bug is resolved.

Note: See TracTickets for help on using tickets.