should also strip trailing '/' from source uri
Merge pull request #7790 from crax/develop

should also strip trailing '/' from source uri