Elektrine lite

← Feed

@Edent@mastodon.social

2026-09-02 09:07 UTC

Yet another day of patching someone else's WordPress plugin code because they tried to parse HTML with a regex. In this case, I can see what they were going for, but sometimes there is a much simpler way. https://wordpress.org/support/topic/litespeed-dummy-removal-incorrect-regex/

Replies (1)

  • @ivor@social.ivor.org 2026-09-02 09:08

    @Edent@mastodon.social Ah yes... the classic on this from @codinghorror@infosec.exchange https://blog.codinghorror.com/parsing-html-the-cthulhu-way/

    Open ##4603010