Runaway URL-encoding of featureType filenames
---------------------------------------------

                 Key: GEOS-3132
                 URL: http://jira.codehaus.org/browse/GEOS-3132
             Project: GeoServer
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 1.7.4
         Environment: MacOS 10.5, CentOS 5.0
            Reporter: Daniel Lipsitt
            Assignee: Andrea Aime


When I create a featureType from a PostGIS table with a space in the name (eg. 
{{Foo Bar}}), I end up with directories in {{data/featureTypes}} that look like 
this:

{{postgis_Foo%252525252BBar}}

I assume that what is happening is this: The first time I save the featureType, 
it encodes the space as {{%2B}}. The next time I save the config (any part of 
it, I think), it reads that feature type filename, sees that it has a {{%}}, 
and encodes that as {{%25}}. The next time, it sees that it still contains a 
{{%}}, and encodes it again, ad infinitum. This repeats each time I make any 
changes to my config, until the filenames are longer than the legal filesystem 
limit. Then I can't save anything.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to