Noticed I was unable to connect to RPC server due to @ being a character in password, the current behaviour will split n times depending on how many of the @ special character appears and then will fail on URL since there are not two vectors.
resolved this by splitting from right side and then swapping the vectors so no other code needed to be modified.
@
being a character in password, the current behaviour will split n times depending on how many of the @ special character appears and then will fail on URL since there are not two vectors.