Support trailing slash in sharepoint.server

Previously a trailing slash worked fine, but when we started using
spUrlToUri() to handle spaces in URLs we inadvertently broke trailing
slashes. This restores the ability to use them in sharepoint.server
config.
2 files changed