Hmm, WP didn’t send me an email when you mentioned me! @zathras emailed me this morning and I’ve been looking around. Not sure why it wasn’t happening previously, but its a problem that people have with integrating DokuWiki (which we did succeed in updating) and Wordpress. The solution is essentially to add an if statement that only tells WP to add an escape character if the cookie isn’t coming from Doku.
The tweak is done on the WP side, so I’m going to make a note of it in the website manual and do the change. The one thing I’m not thrilled about is that this would get overwritten with every WordPress update since its part of a core file