[postgis-tickets] [PostGIS] #4273: too permissive WKT parser
PostGIS
trac at osgeo.org
Wed Dec 12 14:02:19 PST 2018
#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):
Really anything at all after the close of a valid geometry seems to be OK
as long as it's not a WKB token:
{{{
select 'POINT(27.5618791 53.902334) asdf'::geometry;
}}}
But if you put in a token, nope:
{{{
select 'POINT(27.5618791 53.902334) POINT'::geometry;
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4273#comment:2>
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