wp/wp-includes/Requests/SSL.php
changeset 16 a86126ab1dd4
parent 7 cf61fcea0001
child 18 be944660c56a
equal deleted inserted replaced
15:3d4e9c994f10 16:a86126ab1dd4
   123 	 * @param string $host Requested host
   123 	 * @param string $host Requested host
   124 	 * @param string $reference dNSName to match against
   124 	 * @param string $reference dNSName to match against
   125 	 * @return boolean Does the domain match?
   125 	 * @return boolean Does the domain match?
   126 	 */
   126 	 */
   127 	public static function match_domain($host, $reference) {
   127 	public static function match_domain($host, $reference) {
   128 		// Check if the reference is blacklisted first
   128 		// Check if the reference is blocklisted first
   129 		if (self::verify_reference_name($reference) !== true) {
   129 		if (self::verify_reference_name($reference) !== true) {
   130 			return false;
   130 			return false;
   131 		}
   131 		}
   132 
   132 
   133 		// Check for a direct match
   133 		// Check for a direct match