Skip to content

fix: improve path stripping robustness#45

Merged
sha1n merged 1 commit into
masterfrom
fix/path-stripping-logic
Jan 29, 2026
Merged

fix: improve path stripping robustness#45
sha1n merged 1 commit into
masterfrom
fix/path-stripping-logic

Conversation

@sha1n
Copy link
Copy Markdown
Owner

@sha1n sha1n commented Jan 28, 2026

  • Updated __pe_strip_original_path to handle cases where PATH is modified externally (e.g., injections), ensuring HEAD and TAIL are correctly identified and removed.
  • Added tests/path_stripping.test.sh to verify the fix.

@sha1n sha1n self-assigned this Jan 28, 2026
- Updated __pe_strip_original_path to handle cases where PATH is modified externally (e.g., injections), ensuring HEAD and TAIL are correctly identified and removed.
- Added tests/path_stripping.test.sh to verify the fix.
@sha1n sha1n force-pushed the fix/path-stripping-logic branch from d02cff5 to 6e599f6 Compare January 29, 2026 21:59
@sha1n sha1n marked this pull request as ready for review January 29, 2026 21:59
@sha1n sha1n merged commit 6fa7460 into master Jan 29, 2026
2 checks passed
@sha1n sha1n deleted the fix/path-stripping-logic branch January 29, 2026 22:04
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.

1 participant