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

Improve file upload security and error handling in ovos-support script #131

Open
coderabbitai bot opened this issue Jan 18, 2025 · 0 comments
Open
Assignees

Comments

@coderabbitai
Copy link

coderabbitai bot commented Jan 18, 2025

Security improvements needed for the file upload functionality in ovos-support script:

  1. Add user confirmation prompt before upload to allow inspection of potentially sensitive data
  2. Add proper verification of upload success by checking HTTP status code
  3. Add error handling for curl failures and network issues
  4. Extract response body and status code separately for better error reporting

Related PR: #129
Related comment: #129 (comment)

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

No branches or pull requests

1 participant