splittext() appears to be incorrectly ignoring the second character of a two character delimiter, instead assuming the first character is the only condition, resulting in a bad list.
Edit: This is entirely a guess I dunno what the fuck is really going on.
Edit 2: Actually it appears to occur any time a character in the delimiter is used further on, regardless of if it only matches the delimiter partially. This is thus only applicable when using multi-character delimiters.
Edit 3: Heck the docs actually make it sound like this might be INTENDED behavior (referring to the delimiter parameter as "delimiters" and such). If this is the case: ahaha no this is not how this proc should work, 100% absolutely and truly not.
Code Snippet (if applicable) to Reproduce Problem:
/client/verb/test()
var/text = "foo@=bar@baz"
var/list/thing = splittext(text, "@=")
src << list2params(thing)
Expected Results:
foo&bar%40baz
Actual Results:
foo&bar&baz