Lame URL sanitising bug when URL was https :(