ASF Bugzilla – Attachment 23206 Details for
Bug 39369
timefmt config not working in SSI when using INCLUDES output filter and XBitHack On
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Test for this problem
39369-new-test.patch.txt (text/plain), 2.18 KB, created by
Dan Poirier
on 2009-01-30 09:06:28 UTC
(
hide
)
Description:
Test for this problem
Filename:
MIME Type:
Creator:
Dan Poirier
Created:
2009-01-30 09:06:28 UTC
Size:
2.18 KB
patch
obsolete
>Index: t/htdocs/modules/include/xbithack/both/timefmt.shtml >=================================================================== >--- t/htdocs/modules/include/xbithack/both/timefmt.shtml (revision 0) >+++ t/htdocs/modules/include/xbithack/both/timefmt.shtml (revision 0) >@@ -0,0 +1,2 @@ >+<!--#config timefmt="%Y" --> >+xx<!--#echo var="DATE_LOCAL" -->xx > >Property changes on: t/htdocs/modules/include/xbithack/both/timefmt.shtml >___________________________________________________________________ >Name: svn:executable > + * > >Index: t/conf/include.conf.in >=================================================================== >--- t/conf/include.conf.in (revision 738571) >+++ t/conf/include.conf.in (working copy) >@@ -22,6 +22,11 @@ > XBitHack on > </Directory> > >+ <Directory @SERVERROOT@/htdocs/modules/include/xbithack/both> >+ Options Includes >+ XBitHack on >+ </Directory> >+ > <Directory @SERVERROOT@/htdocs/modules/include/xbithack/full> > Options +IncludesNOEXEC > XBitHack full >Index: t/modules/include.t >=================================================================== >--- t/modules/include.t (revision 738571) >+++ t/modules/include.t (working copy) >@@ -214,10 +214,10 @@ > } > > # in addition to %tests, there are 1 fsize and 1 flastmod test, >-# 1 GET test, 2 query string tests, 13 XBitHack tests and 14 >+# 1 GET test, 2 query string tests, 14 XBitHack tests and 14 > # tests that use mod_bucketeer to construct brigades for mod_include > >-plan tests => (scalar keys %tests) + @patterns + 32, >+plan tests => (scalar keys %tests) + @patterns + 33, > todo => \@todo, > need need_lwp, need_module 'include'; > >@@ -387,6 +387,17 @@ > ); > } > >+ # test timefmt - make sure filter only inserted once >+ # if Option Include and xbithack both say to process >+ $doc = "xbithack/both/timefmt.shtml"; >+ my @now = localtime(); >+ my $year = $now[5] + 1900; >+ chmod 0555, "$htdocs/$dir$doc"; >+ ok t_cmp(super_chomp(GET_BODY "$dir$doc"), >+ "xx${year}xx", >+ "XBitHack both [timefmt]" >+ ); >+ > # test xbithack full > $doc = "xbithack/full/test.html"; > chmod 0444, "$htdocs/$dir$doc";
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 39369
:
23150
| 23206 |
23391