Skip to content

Crash if accept after html removal

In SubmissionAcceptView, line 998, we try to access the HTML images. img = files[image]

But files[image] is only set above if article.body_html In the scenario where the HTML full text is deleted by the user, the images are still on disk and line 998 will crash