improve W005 checker by properly parsing URL and checking filename
Merge pull request #182 from twbs/W005

improve W005 checker by properly parsing URL and checking filename