tgstation / tgstation-server

A production scale tool for DreamMaker server management
https://tgstation.github.io/tgstation-server/
GNU Affero General Public License v3.0
61 stars 78 forks source link

Moving an instance on Windows uppercases the path on disk #1074

Open Cyberboss opened 4 years ago

Cyberboss commented 4 years ago

On the tin

Cyberboss commented 3 years ago

The issue is the call to MoveInstance needs rawPath but instead it's getting a sanitized path from originalModel https://github.com/tgstation/tgstation-server/blob/0ae8ad2dfbc0ddbe307e154c4b1b67643f2e06b3/src/Tgstation.Server.Host/Controllers/InstanceController.cs#L520-L534