FIX: Strips spaces from the end of URLs