- π³π±Netherlands Lendude Amsterdam
@smustgrave ah yes, I misread, it is indeed good that the old test case is removed
Not sure how to get 'Needs security review' to happen, so moving to RTBC, which might help get that done if indeed needed.
- π¬π§United Kingdom alexpott πͺπΊπ
I wrote this patch sometime back in 2015 :) and it has had tests ever since. I think we should trust our test coverage of the Xss class and we can see that this results in better and more correct HTML. I've reviewed the code again. I've not looked at it for years and I still believe that this is the correct fix.
The removal of the
break;
is neither here nor there. It's the last statement in a switch - the break does nothing. - Status changed to Fixed
almost 2 years ago 11:54am 8 March 2023 - π¬π§United Kingdom catch
The change here looks good - just completely removing the attribute instead of leaving an invalid one. Untagging for security review because we already have extensive test coverage and this only affects the one test case that was validating the bug (bug better than XSS though of course).
Committed/pushed to 10.1.x, cherry-picked to 10.0.x and 9.5.x, thanks!
Automatically closed - issue fixed for 2 weeks with no activity.