geoserver/geoserver — pull request #828 by jdeolive (2014-11-22 00:31:10+00:00)
Title: Ensuring importer doesn't create illegal layer names.

This patch massages the names of layers that have illegal names, similar to how it tacks on numbers to avoid layer name conflicts. The heuristic is:

- If layer name starts with a non character, prepend an 'a'
- For all illegal word characters replace them with a '_'

Not tied in any way to this heuristic so better suggestions are welcomed.