You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2007/06/29 17:54:42 UTC
svn commit: r551930 -
/httpd/test/trunk/perl-framework/t/security/CVE-2006-5752.t
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");