fix issue where trailing slash is removed for star segments
Merge pull request #10 from craigteegarden/star-segment-has-trailing-slash-removed

fix issue where trailing slash is removed for star segments