Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly handle colons in map name #222

Closed
micheljung opened this issue May 26, 2018 · 2 comments
Closed

Properly handle colons in map name #222

micheljung opened this issue May 26, 2018 · 2 comments
Labels

Comments

@micheljung
Copy link
Member

micheljung commented May 26, 2018

java.nio.file.NoSuchFileException: /tmp/1527357301786-0/Hexa wars -> /tmp/1527357301786-0/hexa_wars_by:_marlo/degulum.v0003
         at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
         at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
         at sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:457)
         at sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:262)
         at java.nio.file.Files.move(Files.java:1395)
         at com.faforever.api.map.MapService.renameFolderNameAndCorrectPathInLuaFiles(MapService.java:277)
         at com.faforever.api.map.MapService.uploadMap(MapService.java:92)
         at com.faforever.api.map.MapsController.uploadMap(MapsController.java:76)
         at com.faforever.api.map.MapsController$$FastClassBySpringCGLIB$$ac6aef88.invoke(<generated>)
@micheljung micheljung added the bug label May 26, 2018
@Brutus5000
Copy link
Member

Brutus5000 commented May 27, 2018

It's not only colons. It's all non-Latin / non-ASCII characters.

@micheljung
Copy link
Member Author

This has been fixed by 24e46d9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants