Skip to content

Commit

Permalink
Merge "Allow wildcard for bypass proxy" into jb-mr2-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
isheriff authored and Android (Google) Code Review committed Mar 26, 2013
2 parents 86ecd3c + b7cb374 commit 05d67f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/android/settings/ProxySelector.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class ProxySelector extends Fragment implements DialogCreatable {
"^$|^[" + HC + "]+(\\-[" + HC + "]+)*(\\.[" + HC + "]+(\\-[" + HC + "]+)*)*$";
private static final Pattern HOSTNAME_PATTERN;
private static final String EXCLUSION_REGEXP =
"$|^[" + HC + "]+(\\-[" + HC + "]+)*(\\.[" + HC + "]+(\\-[" + HC + "]+)*)*$";
"$|^(\\*)?\\.?[" + HC + "]+(\\-[" + HC + "]+)*(\\.[" + HC + "]+(\\-[" + HC + "]+)*)*$";
private static final Pattern EXCLUSION_PATTERN;
static {
HOSTNAME_PATTERN = Pattern.compile(HOSTNAME_REGEXP);
Expand Down

0 comments on commit 05d67f6

Please sign in to comment.