osome-iu / hoaxy-backend

Backend component for Hoaxy, a tool to visualize the spread of claims and fact checking
http://hoaxy.iuni.iu.edu/
GNU General Public License v3.0
138 stars 44 forks source link

Fix escaping of URL #37

Closed filmenczer closed 5 years ago

filmenczer commented 5 years ago

Mercury fails if URL includes regexp characters, as in this example:

https://www.dcclothesline.com/2019/05/01/illinois-democrat-castrate-men-to-end-abortion-tax-them-to-store-sperm/****TRUMP/

chathuriw commented 5 years ago

This is done. We escape the characters and set '/:?=&' as valid characters.