forked from rDrama/rDrama
fix minor chud evasion exploit
parent
712c30fe84
commit
3b7569745e
|
@ -1034,6 +1034,7 @@ def edit_post(pid, v):
|
||||||
|
|
||||||
p.body_html = body_html
|
p.body_html = body_html
|
||||||
|
|
||||||
|
|
||||||
if not complies_with_chud(p):
|
if not complies_with_chud(p):
|
||||||
abort(403, f'You have to include "{v.agendaposter_phrase}" in your post!')
|
abort(403, f'You have to include "{v.agendaposter_phrase}" in your post!')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue