Ok, turns out the slash wasn't the problem. I made a test database and run a fresh installation of zp, the slash was there but everything was ok.
So I made a backup of everything, deleted the old database and the user, made new ones, upgraded to the last nightly build and re-uploaded everything.
I still don't know what wasn't working but it's fixed now. Yay!
I'm marking this topic as resolved.