make uri matching a little less strict
Merge pull request #4 from martinklepsch/master

Make URI matching less strict