forked from rDrama/rDrama
Snakes
227ddbec0e
In general, we don't do a great job of length validating body_html fields. Lots of ways to get 500 errors by providing too long of input. Really ought to find a way to fix it in the classes/comment.py and classes/submission.py classes. In the interim, the recent gifts messages change is salient because the notification can 500 out mid-way through performing coin transactions. Recommended to find a better way of truncating or safely bubbling the exception up. Truncating probably not best long-term solution because it could hypothetically permit strings that would otherwise be considered unsanitized. |
||
---|---|---|
.. | ||
alerts.py | ||
blackjack.py | ||
const.py | ||
discord.py | ||
get.py | ||
jinja2.py | ||
lazy.py | ||
lottery.py | ||
media.py | ||
sanitize.py | ||
security.py | ||
slots.py | ||
treasure.py | ||
wrappers.py |