Updated regex as it was failing to validate valid github personal access tokens.
What does this change?
Fixes the regex so valid personal access tokens from github can be used.
How to test
Run the application locally as described here.
Create a personal access token as described here.
Paste in the access token.
Note the application works as expected.
You can try against the main version to verify your access token is not accepted.
How can we measure success?
It's possible to run the application using personal access tokens.
Have we considered potential risks?
The regex is wrong and incorrectly accepts invalid access tokens. I have done some research and it seems the regex is correct but I cannot find any official github documentation to support this.
Updated regex as it was failing to validate valid github personal access tokens.
What does this change?
Fixes the regex so valid personal access tokens from github can be used.
How to test
Run the application locally as described here. Create a personal access token as described here. Paste in the access token. Note the application works as expected.
You can try against the main version to verify your access token is not accepted.
How can we measure success?
It's possible to run the application using personal access tokens.
Have we considered potential risks?
The regex is wrong and incorrectly accepts invalid access tokens. I have done some research and it seems the regex is correct but I cannot find any official github documentation to support this.
Images
n/a