Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 94E1F200D44 for ; Mon, 20 Nov 2017 16:52:38 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9148D160BF9; Mon, 20 Nov 2017 15:52:38 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 09AAE160BEC for ; Mon, 20 Nov 2017 16:52:37 +0100 (CET) Received: (qmail 44908 invoked by uid 500); 20 Nov 2017 15:52:37 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 44898 invoked by uid 99); 20 Nov 2017 15:52:37 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Nov 2017 15:52:37 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 338683A0230 for ; Mon, 20 Nov 2017 15:52:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1815820 - /httpd/test/framework/trunk/t/ssl/basicauth.t Date: Mon, 20 Nov 2017 15:52:36 -0000 To: cvs@httpd.apache.org From: jorton@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20171120155236.338683A0230@svn01-us-west.apache.org> archived-at: Mon, 20 Nov 2017 15:52:38 -0000 Author: jorton Date: Mon Nov 20 15:52:36 2017 New Revision: 1815820 URL: http://svn.apache.org/viewvc?rev=1815820&view=rev Log: Test for 403 with colon in fakebasicauth username. Modified: httpd/test/framework/trunk/t/ssl/basicauth.t Modified: httpd/test/framework/trunk/t/ssl/basicauth.t URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/ssl/basicauth.t?rev=1815820&r1=1815819&r2=1815820&view=diff ============================================================================== --- httpd/test/framework/trunk/t/ssl/basicauth.t (original) +++ httpd/test/framework/trunk/t/ssl/basicauth.t Mon Nov 20 15:52:36 2017 @@ -13,7 +13,7 @@ Apache::TestRequest::user_agent_keepaliv my $url = '/ssl-fakebasicauth/index.html'; -plan tests => 3, need need_auth, need_lwp; +plan tests => 4, need need_auth, need_lwp; Apache::TestRequest::scheme('https'); @@ -31,3 +31,13 @@ ok t_cmp (GET_RC($url, cert => 'client_o 401, "Getting $url with client_ok cert" ); + +if (!have_min_apache_version("2.5.1")) { + skip "Colon in username test skipped."; +} +else { + ok t_cmp (GET_RC($url, cert => 'client_colon'), + 403, + "Getting $url with client_colon cert" + ); +}