Fix hostname with "2" (eg. 192.168.1.2)

It wrongly split the Path when the hostname with "2" in between.

eg. 192.168.1.2 / 2.test.com