Skip to content
Permalink
Browse files

657548 - do not allow channel names to begin with a digit

  • Loading branch information...
tlestach committed Feb 18, 2011
1 parent 947a21f commit 90d6a08a7a26ae7188b4f1f636963706237e5095
Showing with 1 addition and 1 deletion.
  1. +1 −1 java/code/src/com/redhat/rhn/manager/channel/CreateChannelCommand.java
@@ -40,7 +40,7 @@
public static final int CHANNEL_LABEL_MIN_LENGTH = 6;

protected static final String CHANNEL_NAME_REGEX =
"^[a-zA-Z\\d][\\w\\d\\s\\-\\.\\'\\(\\)\\/\\_]*$";
"^[a-zA-Z][\\w\\d\\s\\-\\.\\'\\(\\)\\/\\_]*$";
protected static final String CHANNEL_LABEL_REGEX =
"^[a-z\\d][a-z\\d\\-\\.\\_]*$";

0 comments on commit 90d6a08

Please sign in to comment.
You can’t perform that action at this time.