Skip to content

Commit bba318c

Browse files
authored
Update routers/web/repo/actions/view.go
1 parent d7be867 commit bba318c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/actions/view.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func ViewWorkflowFile(ctx *context_module.Context) {
8787
}
8888
for _, entry := range entries {
8989
if entry.Name() == run.WorkflowID {
90-
ctx.Redirect(fmt.Sprintf("%s/src/commit/%s/%s/%s", ctx.Repo.RepoLink, url.PathEscape(run.CommitSHA), util.PathEscapeSegments(rpath), url.PathEscape(run.WorkflowID)))
90+
ctx.Redirect(fmt.Sprintf("%s/src/commit/%s/%s/%s", ctx.Repo.RepoLink, url.PathEscape(run.CommitSHA), util.PathEscapeSegments(rpath), url.PathEscapeSegments(run.WorkflowID)))
9191
return
9292
}
9393
}

0 commit comments

Comments
 (0)