marius00 / iagd

MIT License
104 stars 31 forks source link

Detect invalid paths #203

Open marius00 opened 9 months ago

marius00 commented 9 months ago

If the path to GD is on A:\ or B:\, display some kind of error.

Apparantly mapping local drives to floppy-partitions is a thing, and .net will throw an "invalid path" error.

marius00 commented 7 months ago

Also: Is this a problem that should even exist? It appears to happen in Path.Combine... but the path is being passed off to a 3rd party tool, if we just use "+" to concat the paths, we might avoid this all together.