httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r551930 - /httpd/test/trunk/perl-framework/t/security/CVE-2006-5752.t
Date Fri, 29 Jun 2007 15:54:42 GMT
Author: jorton
Date: Fri Jun 29 08:54:41 2007
New Revision: 551930

URL: http://svn.apache.org/viewvc?view=rev&rev=551930
Log:
- add regression test for CVE-2006-5752

Added:
    httpd/test/trunk/perl-framework/t/security/CVE-2006-5752.t

Added: httpd/test/trunk/perl-framework/t/security/CVE-2006-5752.t
URL: http://svn.apache.org/viewvc/httpd/test/trunk/perl-framework/t/security/CVE-2006-5752.t?view=auto&rev=551930
==============================================================================
--- httpd/test/trunk/perl-framework/t/security/CVE-2006-5752.t (added)
+++ httpd/test/trunk/perl-framework/t/security/CVE-2006-5752.t Fri Jun 29 08:54:41 2007
@@ -0,0 +1,16 @@
+use strict;
+use warnings FATAL => 'all';
+
+use Apache::Test;
+use Apache::TestUtil;
+use Apache::TestRequest;
+
+plan tests => 2, need_module 'status';
+
+my $r;
+
+$r = GET "/server-status";
+
+ok t_cmp($r->code, 200, "server-status gave response");
+
+ok t_cmp($r->header("Content-Type"), qr/charset=/, "response content-type had charset");



Mime
View raw message