···8080 result.ReadmeFileName = xrpcResp.Readme.Filename
8181 result.Readme = xrpcResp.Readme.Contents
8282 }
8383- ownerSlashRepo := reporesolver.GetBaseRepoPath(r, &f.Repo)
8383+ ownerSlashRepo := reporesolver.GetBaseRepoPath(r, f)
8484 // redirects tree paths trying to access a blob; in this case the result.Files is unpopulated,
8585 // so we can safely redirect to the "parent" (which is the same file).
8686 if len(result.Files) == 0 && result.Parent == treePath {