Chromium Code Reviews| Index: net/base/net_util.cc | 
| =================================================================== | 
| --- net/base/net_util.cc (revision 89207) | 
| +++ net/base/net_util.cc (working copy) | 
| @@ -1181,7 +1181,8 @@ | 
| const char c = *i; | 
| if (!in_component) { | 
| most_recent_component_started_alpha = IsHostCharAlpha(c); | 
| - if (!most_recent_component_started_alpha && !IsHostCharDigit(c)) | 
| + if (!most_recent_component_started_alpha && !IsHostCharDigit(c) && | 
| + (c != '-')) | 
| return false; | 
| in_component = true; | 
| } else { |