forked from rDrama/rDrama
Originally prompted by https://rdrama.net/post/18459/-/1984609 which noticed that streamable.com/e/ links as posts would have another e/ added to them. This was in spite of logic in posts.py api_is_repost and submit_post designed to specifically counteract this. Proximal cause was a copypasta'd url.replace(...) chain which caused the mistake before the streamable-specific logic had a chance to avoid making it. Solution: remove the streamable replacement from the chained statement and create `helpers.normalize_url(url)` to get rid of the copypasta. |
||
---|---|---|
.. | ||
alerts.py | ||
blackjack.py | ||
const.py | ||
discord.py | ||
get.py | ||
jinja2.py | ||
lazy.py | ||
media.py | ||
sanitize.py | ||
security.py | ||
slots.py | ||
treasure.py | ||
wrappers.py |