A better functon to filter valid Friendly URL.
Merge pull request #9 from rufein/master

A better function to filter valid Friendly URL.