springload / madewithwagtail

A showcase of sites and apps made with Wagtail CMS, the easy to use, open source Django content management system
http://madewithwagtail.org
MIT License
84 stars 21 forks source link

URL parsing of GitHub & Twitter URLs fails if the URL ends with a / #50

Closed thibaudcolas closed 7 years ago

thibaudcolas commented 7 years ago

On developer profiles, if the Twitter / GitHub URL ends with a /, the parsing of their handle will fail and it won't show on the page.

To reproduce, try to enter eg. https://github.com/thibaudcolas/ as the "GitHub URL". NB: this has only been noticed for GitHub, but I imagine the parsing logic would be the same for Twitter URLs & handles too.