ramiismail / dopresskit

presskit() - spend time making games, not press.
GNU General Public License v3.0
133 stars 50 forks source link

Bugfix: Additional links on project page were breaking. #18

Open thefuntastic opened 10 years ago

thefuntastic commented 10 years ago

If and additional link on a project page did not contain a slash after the domain name then it would be assigned an empty link title and the link would therefore be invisible.

www.domainname.com pattern results in the bug as seen here: http://grab.by/uKew

Where as www.domainname.com/no-bug pattern seems to work fine.

As a fix I've implemented a simple check to bypass domains with no post-fix url information to be ignored from the stripping routine.

qwiboo commented 10 years ago

I had the same problem, thanks for the fix!