13
0
geforkt von Mirrors/Velocity

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;