wp-content dir path with double slashes

I just encounter a client who has a weird config on it's host, he is using slashes instead of backslashes in his paths so it is messing up all redux assets.

I got it working with this str_replace, you might consider on it.