Fixing ASCII code for space (32 instead of 20), and removing dead code

I was mistaken because %20 is a space in URLs...