Ticket #1728 (closed bug: fixed)
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
Note: See
TracTickets for help on using
tickets.
