Skip to content

gitserver: Redact tokens appearing when push fails

Administrator requested to merge redact-push-error into master

Created by: ryanslade

I'm unsure about the context of the git config that we currently have set up so that simply using origin instead of the remote url for pushing does not work. See related issue for details.

Instead, I'm using the existing urlRedactor to remove tokens from anything returned to the frontend.

Fixes: https://github.com/sourcegraph/sourcegraph/issues/8105

Merge request reports

Loading