forked from rDrama/rDrama
1
0
Fork 0
rDrama/files
Snakes 1c7458e111 Sanitize: modularize normalize_url, fix streamable.
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.
2022-05-25 04:43:16 -04:00
..
classes Restore old agendaposter pfps system, add more. 2022-05-25 00:41:23 -04:00
helpers Sanitize: modularize normalize_url, fix streamable. 2022-05-25 04:43:16 -04:00
mail mn 2022-05-05 01:09:46 +02:00
routes Sanitize: modularize normalize_url, fix streamable. 2022-05-25 04:43:16 -04:00
templates Userpage: fix display-none on own profile in 8a400a209b. 2022-05-25 03:55:09 -04:00
tests vdffsd 2022-05-23 00:45:04 +02:00
__main__.py fsd 2022-05-20 20:45:12 +02:00