3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-24 23:30:26 +01:00

Forward slashes are allowed in channel IDs

Fixes an issue where the Fabric registry sync packet would not be allowed by Velocity.
Dieser Commit ist enthalten in:
Andrew Steinborn 2021-02-09 14:25:12 -05:00
Ursprung 7e42c5b2e7
Commit a6a9d1e0fb

Datei anzeigen

@ -13,7 +13,7 @@ import org.checkerframework.checker.nullness.qual.Nullable;
*/
public final class MinecraftChannelIdentifier implements ChannelIdentifier {
private static final Pattern VALID_IDENTIFIER_REGEX = Pattern.compile("[a-z0-9\\-_]*");
private static final Pattern VALID_IDENTIFIER_REGEX = Pattern.compile("[a-z0-9/\\-_]*");
private final String namespace;
private final String name;