mojira.dev
MC-312225

Address fields remain limited to 128 chars after intention packet host limit increased to 1024

The 26.4-snapshot-1 changelog states that the minecraft:intention packet’s host field now supports 1024 characters and that users can enter query properties in Server Address fields.

However, the ip EditBox in both DirectJoinServerScreen and ManageServerScreen remains limited to 128 characters in both snapshots. This prevents entering longer addresses with query properties.

Steps to reproduce:

  1. Open Multiplayer → Direct Connection.

  2. Paste an address with query properties exceeding 128 characters. For instance:

    a.com?id=abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
  3. Observe that the input is truncated to 128 characters.

  4. Repeat in Multiplayer → Add Server or Edit → Server Address.

Actual result: Both address fields accept at most 128 characters.

Expected result: Address fields allow longer addresses with query properties, within the supported protocol limits, at most 1024 characters.

Is the retained 128-character UI limit intentional, or should these fields have been updated alongside the packet change?

Note: I confirmed this using the source code and entering an invalid domain with more than 63 characters between each dot (or none at all) does not allow to click Join or Done which is correct behavior by the parser.

Comments 0

No comments.

mammut53

(Unassigned)

Unconfirmed

26.4 Snapshot 2

Retrieved