Skip to content

Change single quotes around private token to double quotes

Serena Fang requested to merge patch-187 into master

What does this MR do?

Change the single quotes around 'Private-Token: <your_access_token>' to double quotes. If your access token is saved as a bash variable, say $TOKEN, with single quotes the value $TOKEN is passed literally and you run into a 401 Unauthorized error.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Serena Fang

Merge request reports