Duplicate domain on asset load


I had to change the Array syntax to support PHP 5.3 and that is OK. However, my assets don’t load because they are being requested from a wrong URL. The request gets sent to:
the rest of the path is OK, but the domain gets duplicated. Any ideas why and how to fix?

This goes for /uploads, /plugins/… everything