Mod upload failed

I get a "Mod upload failed. Server gave the following errors: 500 Internal Server Error from POST https://api.faforever.com/mods/upload" error when trying to upload my mod.

I think the error occurred before, e.g. at
https://forum.faforever.com/topic/6141/mod-update-via-upload-faf-not-possible/13. Back then, the server was configured incorrectly.

Anyone able to help?

I used dashes in the name of the directory with the mod, which apparently causes the problem. Names of files, on the other hand, can contain dashes, it would seem.

Problem solved.