[postgis-tickets] [PostGIS] #4273: too permissive WKT parser

PostGIS trac at osgeo.org
Wed Jan 9 08:08:17 PST 2019


#4273: too permissive WKT parser
----------------------+---------------------------
  Reporter:  komzpa   |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 2.5.2
 Component:  postgis  |    Version:  2.4.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by pramsey):

 This gets weirder... a test case like
 {{{
 SELECT 'POINT(1 2) foobar'::geometry
 }}}
 will be parsed by PostGIS happily, but if I take that same case and run it
 in cunit, I get
 {{{
 parse error - invalid geometry
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4273#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list