Now using built in methods to split the path correctly when routing, Fixes rSPT6715811593b1d496b89184e01b9ba695b5fd4daf