Removing double slash from $uri, not the solution of permission issue but it won't hurt. getStationUrl will always return a slash at the end, so we do not need to add it again in line 1033