hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1128649 - /httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/ssl/TestHostnameVerifier.java
Date Sat, 28 May 2011 14:01:43 GMT
Author: sebb
Date: Sat May 28 14:01:42 2011
New Revision: 1128649

URL: http://svn.apache.org/viewvc?rev=1128649&view=rev
Log:
Another test

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/ssl/TestHostnameVerifier.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/ssl/TestHostnameVerifier.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/ssl/TestHostnameVerifier.java?rev=1128649&r1=1128648&r2=1128649&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/ssl/TestHostnameVerifier.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/conn/ssl/TestHostnameVerifier.java
Sat May 28 14:01:42 2011
@@ -333,5 +333,7 @@ public class TestHostnameVerifier {
         checkWildcard("*.co.uk", false); // 2 character TLD, invalid 2TLD
         checkWildcard("*.gov.uk", false); // 2 character TLD, invalid 2TLD
         checkWildcard("*.gouv.uk", false); // 2 character TLD, invalid 2TLD
+        checkWildcard("*.a.co.uk", true); // 2 character TLD, invalid 2TLD, but using subdomain
+        checkWildcard("s*.a.co.uk", true); // 2 character TLD, invalid 2TLD, but using subdomain
     }
 }



Mime
View raw message