Skip to content

rg info exposes region names #2262

@ShiftingKill

Description

@ShiftingKill

WorldEdit Version

7.3.19-SNAPSHOT

WorldGuard Version

7.0.15-SNAPSHOT

Platform Version

purpur-1.21.11-2542

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of WorldGuard compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

Do /rg info on one region and it says permission denied. If you stand in multiple overlapping regions it will expose the regions names and then still you don't have permission to do /rg info on a particular one. It is a bit of extra info exposed.

Expected Behavior

/rg info should say permission denied regardless of how many regions you are in if you truly don't have permission.

Reproduction Steps

Run rg info in one region
Run rg info in overlapping regions
See it yields different error messages and understand that exposes data about what regions may be there

Optional WorldGuard-Report

No response

Anything Else?

I'm not spending one more second on this bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:pendingPending acceptance or closure.type:bugIncorrect behavior, not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions