UQ-174: Trailing slash in the URL causes an exception