commit | eecc5b7cf59b1b03ab030d01cc2c4875c8287336 | [log] [tgz] |
---|---|---|
author | Alex Klyubin <klyubin@google.com> | Tue Nov 18 17:37:20 2014 -0800 |
committer | Alex Klyubin <klyubin@google.com> | Tue Nov 18 17:37:20 2014 -0800 |
tree | 6f6794d6225c7d902361bf7feb8f6e20709af90b | |
parent | 1b1065ec410f7286a6fe0a1bf40462410109ca49 [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. Bug: 18432707 Change-Id: Ic2fccbfeac4f5d6e71b49ecbd36c248214baebad