diff options
-rw-r--r-- | chrome/browser/autocomplete_history_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete_history_manager.cc b/chrome/browser/autocomplete_history_manager.cc index f30ec2b..dab9363 100644 --- a/chrome/browser/autocomplete_history_manager.cc +++ b/chrome/browser/autocomplete_history_manager.cc @@ -30,7 +30,7 @@ const string16 kSSNSeparators = ASCIIToUTF16(" -"); bool IsSSN(const string16& text) { string16 number_string; RemoveChars(text, kSSNSeparators.c_str(), &number_string); - if (number_string.length() != 9) + if (number_string.length() != 9 || !IsStringASCII(number_string)) return false; // A SSN is of the form AAA-GG-SSSS (A = area number, G = group number, S = |