[elsa] 增加在指针模式下,按住空格可以进入至拖拽模式的逻辑#35
Merged
CodeCasterX merged 1 commit intoModelEngine-Group:3.5.xfrom Apr 10, 2025
Merged
Conversation
c555a5a to
da242e7
Compare
CodeCasterX
approved these changes
Apr 10, 2025
Yager-42
pushed a commit
to Yager-42/fit-framework
that referenced
this pull request
Aug 16, 2025
CodeCasterX
added a commit
that referenced
this pull request
Oct 13, 2025
- 提取validateAndBuildTargetPath()方法集中处理安全验证 - 实现三道防线防御Zip Slip攻击: 1. 检测绝对路径攻击(/, \, 驱动器字母) 2. 使用Path.normalize()规范化路径 3. 使用Path.startsWith()验证路径边界 - 优化JavaDoc注释,使用有序列表和完整类型引用 - 通过所有安全测试用例(15/15) ✓ 此修复针对GitHub安全扫描问题#35(CWE-22: Zip Slip) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[elsa] 指针模式 + 空格按键 => 进入拖拽模式 ;拖拽模式 + 空格按键 => 不变;松开空格按键 => 回到原有模式