github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2020-05-26 11:39 pm

[dreamwidth/dw-free] a8360f: Prevent infinite loop in htmlcleaner

Branch: refs/heads/master
Home: https://github.com/dreamwidth/dw-free
Commit: a8360f07da6511ae91f16577b0b685ef68ea82d1
https://github.com/dreamwidth/dw-free/commit/a8360f07da6511ae91f16577b0b685ef68ea82d1
Author: Nick Fagerlund <nick.fagerlund@gmail.com>
Date: 2020-05-26 (Tue, 26 May 2020)

Changed paths:
M cgi-bin/LJ/CleanHTML.pm

Log Message:
-----------
Prevent infinite loop in htmlcleaner

If the user's raw text has more closing ``s than it had opening ``s
(resulting in a negative `opencount{'lj-cut'}`), don't keep adding closing
``s until the end of time.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org