It seems that v2.5 of the html cleaner library is no longer thread safe. The attached test demonstrates the problem. It works using v2.2 of the library.
OK, for some reason the thread-safe class used to hold instance variables in HtmlCleaner didn't make it across when the codebases were merged. I've re-implemented it in trunk, and all unit tests pass including the one I've added from Tobias.
Please do check this one thoroughly as there may be side effects of this change that aren't currently tested for.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the report and test case Tobias
I ran the test case against the various releases, and the problem is introduced between 2.2.1 and 2.4.
Assigning to fix in 2.6
OK, for some reason the thread-safe class used to hold instance variables in HtmlCleaner didn't make it across when the codebases were merged. I've re-implemented it in trunk, and all unit tests pass including the one I've added from Tobias.
Please do check this one thoroughly as there may be side effects of this change that aren't currently tested for.
Thank you for taking care so quickly.