Skip to content

Names of layers with spaces don't get escaped. #11

@eigood

Description

@eigood
gs-shell>layer get --name 'getty:sunset buildings'
Command failed java.lang.IllegalArgumentException: Invalid uri 'http://geoserver:8080/geoserver/rest/layers/getty:sunset buildings.xml': escaped absolute path not valid
Invalid uri 'http://geoserver:8080/geoserver/rest/layers/getty:sunset buildings.xml': escaped absolute path not valid

gs-shell>layer get --name 'getty:sunset%20buildings'
sunset buildings
   Title: null
   Type: VECTOR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions