-
Notifications
You must be signed in to change notification settings - Fork 6
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 Swift Integration Test #230
Conversation
d690e7b
to
e201968
Compare
e201968
to
8b3ac61
Compare
The HTTP (non-SSL) test passed, but the HTTPS test failed. |
${readFileSync(fixturePath, 'utf8')} | ||
`, | ||
); | ||
return shell.execSync(`swift ${filePath}`); |
Check warning
Code scanning / CodeQL
Shell command built from environment values Medium
file name
|
||
}, | ||
swift: (fixturePath: string) => { | ||
const filePath = `/tmp/${path.basename(fixturePath)}`; |
Check warning
Code scanning / CodeQL
Unsafe shell command constructed from library input Medium
library input
shell command
${readFileSync(fixturePath, 'utf8')} | ||
`, | ||
); | ||
return shell.execSync(`swift ${filePath}`); |
Check warning
Code scanning / CodeQL
Unsafe shell command constructed from library input Medium
library input
shell command
I found same issue Handling self-signed certificates in URLAuthenticationChallenge on Linux. |
I need fix Swift(for Linux) or workarounds. |
No worries, thanks for taking a stab at it. |
🧰 Changes
Add Swift Integration Test