OpenDreamProject / OpenDream

A project for running games made in the DM programming language
MIT License
208 stars 112 forks source link

Strip colons from the server IPs in the cache directory #1930

Closed ike709 closed 3 months ago

ike709 commented 3 months ago

Fixes this exception: System.IO.IOException: The filename, directory name, or volume label syntax is incorrect. : 'C:\Users\Ike\AppData\Roaming\Space Station 14\data\OpenDream\Cache\127.0.0.1:1212\browse1774779223.html'

: is not a legal filepath on Windows. See this Microsoft doc if you don't believe me.

This fixes TGUI when connecting to a local server.