Fixes issue #4 by accounting for a possible ending forward slash in the URL
Merge pull request #6 from greenc/master

Fixes issue #4 by accounting for a possible ending forward slash in the URL