EMCECS / ecs-sync

ecs-sync is a bulk copy utility that can move data between various systems in parallel
Apache License 2.0
61 stars 22 forks source link

UI crashed if job name contains space #53

Closed shvc closed 3 years ago

shvc commented 5 years ago

1. Create a new sync task which job name contains a space

2. Archive this task after task finish

3. UI crashed

java.net.URISyntaxException: Illegal character in path at index 44: /download/archive/report/20190515T112813-job name.report.csv at java.net.URI$Parser.fail(URI.java:2848) at java.net.URI$Parser.checkChars(URI.java:3021) at java.net.URI$Parser.parseHierarchical(URI.java:3105) at java.net.URI$Parser.parse(URI.java:3063) at java.net.URI.(URI.java:588)


- archive file name contains a space
`/opt/emc/ecs-sync/config/archive/20190515T112813-job name.xml`
twincitiesguy commented 3 years ago

Fixed in 3.3.1