[postgis-tickets] [PostGIS] #2272: shp2pgsql-gui crashes when given filenames with dots

PostGIS trac at osgeo.org
Sat Apr 13 10:27:05 PDT 2013


#2272: shp2pgsql-gui  crashes when given filenames with dots
---------------------------+------------------------------------------------
 Reporter:  robe           |       Owner:  mcayland     
     Type:  defect         |      Status:  new          
 Priority:  medium         |   Milestone:  PostGIS 2.0.4
Component:  loader/dumper  |     Version:  trunk        
 Keywords:                 |  
---------------------------+------------------------------------------------

Comment(by pramsey):

 Both GUI and CLI carefully strip off the trailing .shp extension by
 walking from the end back to the first '.'

 This is fine, except then shpopen tries the same trick on the string *it*
 receives.

 I think the solution is for our code to stop trying to strip the extension
 and leave it to shpopen to do.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2272#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