Avatar

Community Advisor

You want the index to be 0 here, it's literally index as in 'index of the url being searched for, in the url string', where 0 is position 0 and -1 is not found; that debug message is displaying all test output, and displaying the result as though it were part of the url.