[HttpFoundation] removed double-slashes (closes #8388)