Skip to content

Conversation

@JulianVennen
Copy link
Contributor

Pull Request

Type

  • Internal change (Doesn't affect end-user).
  • External change (Does affect end-user).
  • Wiki (Changes towards the Wiki).
  • Other: __________

Description

This pull request prevents loading expansions from folders other than the expansions folder.
In previous versions, you could use path traversal with ../ to load expansions from other directories, e.g. /papi register ../../../world/expansion.jar would load an expansion from the world folder.

@iGabyTM iGabyTM added Target: Code This issue/PR is targeting the Code of PlaceholderAPI Type: Bugfix This fixes an existing bug in PlaceholderAPI. labels Mar 30, 2023
@iGabyTM iGabyTM merged commit 744cf6d into PlaceholderAPI:master Apr 4, 2023
@JulianVennen JulianVennen deleted the block-load-path-traversal branch June 23, 2023 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Target: Code This issue/PR is targeting the Code of PlaceholderAPI Type: Bugfix This fixes an existing bug in PlaceholderAPI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants