aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/test
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-02 21:29:50 +0100
committerDanilo M. <danix@danix.xyz>2026-11-02 21:29:51 +0100
commita2b27dade21f85b68654245efefbd339c3e59584 (patch)
tree0fb83722f46c6abe7612af6293b3b1c8e1895948 /app/src/test
parent32ee99b3243da8c55428538b326b159d03f93f6c (diff)
downloadHardenedPass-a2b27dade21f85b68654245efefbd339c3e59584.tar.gz
HardenedPass-a2b27dade21f85b68654245efefbd339c3e59584.zip
fix(app): compare whole path components in isInsideRepository
The check used a string contains on canonical paths, so a typed name such as ../store-evil/x resolved to a sibling directory whose path contains the store's and passed. New entries and folder renames could then land outside the store. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'app/src/test')
0 files changed, 0 insertions, 0 deletions