Dashboard links to subsites all broken

All of the dashboard links to subsites are currently breaking...leading to the wrong URL. These are the links in the Sites listing or the login redirect page where it says Visit Dashboard.

Here's an example:


Obviously, SSL is turned on and it's NOT being forced on subsites, only the main site, but I don't know why that would effect the rest of that messy URL.

Please help.