commit | 77a7e48ac80c5bb9ac4d9b6bfdecf31d46b09fd1 | [log] [tgz] |
---|---|---|
author | Alex Klyubin <klyubin@google.com> | Tue Nov 18 17:37:20 2014 -0800 |
committer | Kenny Root <kroot@google.com> | Wed Nov 19 18:23:42 2014 +0000 |
tree | 151e69dd80591bee86e2e860612991b839fc7f6b | |
parent | 865c83f8383f03d545217c35d9140a4627a74406 [diff] |
Fix a bug in DefaultHostnameVerifier wildcard handling. Wildcard domain name patterns of the form *.remainder are supposed to match domain names that exactly match the remainder. Due to a bug, the match was not exact but rather a prefix match: domain names starting with the remainder would match too. This CL fixes the issue. (cherry picked from commit eecc5b7cf59b1b03ab030d01cc2c4875c8287336) Bug: 18432707 Change-Id: I3b7715adf7a66e57fafe2a0218a73f4ff2dd4182