Skip to content

Commit

Permalink
Update LabelValidator.java
Browse files Browse the repository at this point in the history
Add # to LabelValidator allowed list for query target.
  • Loading branch information
wsxiaoys authored Nov 9, 2016
1 parent 4a1e14f commit e0211eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public final class LabelValidator {
/**
* Matches punctuation in target names which requires quoting in a blaze query.
*/
private static final CharMatcher PUNCTUATION_REQUIRING_QUOTING = CharMatcher.anyOf("+,=~");
private static final CharMatcher PUNCTUATION_REQUIRING_QUOTING = CharMatcher.anyOf("+,=~#");

/**
* Matches punctuation in target names which doesn't require quoting in a blaze query.
Expand Down

0 comments on commit e0211eb

Please sign in to comment.