Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clone endpoint #19

Merged
merged 6 commits into from
Aug 21, 2024
Merged

Add clone endpoint #19

merged 6 commits into from
Aug 21, 2024

Conversation

ozkeisar
Copy link
Owner

No description provided.

});

if (cloneType === 'SSH') {
await execSync(`git clone ${sshUrl} ${projectPath}`, {

Check failure

Code scanning / CodeQL

Uncontrolled command line Critical

This command line depends on a
user-provided value
.
This command line depends on a
user-provided value
.
This command line depends on a
user-provided value
.
This command line depends on a
user-provided value
.
} else if (cloneType === 'HTTPS' && httpsUrl && username && password) {
const updatedURI = addCredentialsToGitURI(httpsUrl, username, password);

await execSync(`git clone ${updatedURI} ${projectPath}`, {

Check failure

Code scanning / CodeQL

Uncontrolled command line Critical

This command line depends on a
user-provided value
.
This command line depends on a
user-provided value
.
This command line depends on a
user-provided value
.
This command line depends on a
user-provided value
.
@ozkeisar ozkeisar merged commit 745acc6 into main Aug 21, 2024
1 of 8 checks passed
@ozkeisar ozkeisar deleted the add-clone-endpoint branch August 21, 2024 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants