Skip to content

fix: [python] Package not updated when switching interpreter#1038

Merged
deepin-mozart merged 1 commit intoCodeya-IDE:masterfrom
Kakueeen:bug-fix
Jan 6, 2025
Merged

fix: [python] Package not updated when switching interpreter#1038
deepin-mozart merged 1 commit intoCodeya-IDE:masterfrom
Kakueeen:bug-fix

Conversation

@Kakueeen
Copy link
Contributor

@Kakueeen Kakueeen commented Jan 6, 2025

@deepin-ci-robot
Copy link

deepin pr auto review

关键摘要:

  • updatePackageData 函数中直接拼接了用户输入的路径和命令,可能存在命令注入的风险。
  • updatePackageData 函数缺少对 text 参数的处理,直接使用 currentData 可能会导致逻辑错误。

是否建议立即修改:

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Kakueeen, LiHua000
Once this PR has been reviewed and has the lgtm label, please assign eric2023 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@deepin-mozart deepin-mozart merged commit e693d5e into Codeya-IDE:master Jan 6, 2025
9 of 10 checks passed
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.

4 participants