Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command Arguments unwraps sub-placeholders(Command Activator) #21

Open
ghost opened this issue Jun 29, 2018 · 0 comments
Open

Command Arguments unwraps sub-placeholders(Command Activator) #21

ghost opened this issue Jun 29, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 29, 2018

When someone typing a command with placeholders in arguments (for example: /tellme %PLAYER_NAME%), then ReActions will always parse all sub-placeholders, such as %var.Player.id% etc. It is a big vulnerability, because anyone can parse any ReActions, PlaceholderAPI placeholders via ReActions custom commands. I tried to fix it by using %raw:%args%%, but it just returns "%args%".
Do anyone knows how to prevent unwrapping placeholders in the command's arguments inside?

Когда кто-либо вводит команду с плейсхолдерами в аргументах (например: /tellme %PLAYER_NAME%), то ReActions постоянно разворачивает все вложенные аргументы, такие как %var.Player.id% и т.д. Это очень большая уязвимость, так как любой игрок может раскрывать любой плейсхолдер ReActions, PlaceholderAPI через созданные команды ReActions. Я пытался исправить это, используя плейсхолдер %raw:%args%%, но он возвращал просто "%args%".
Кто-нибудь знает, как можно предотвратить разворачивание плейсхолдеров в аргументах команды?

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

No branches or pull requests

0 participants