]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/pagespec_match.t
Don't send relative redirect URLs when behind a reverse proxy
[git.ikiwiki.info.git] / t / pagespec_match.t
index fe9624370625a74a57146f8f7de80c56c6215a0b..a37b06e8e7480173df642782f96e35debd6b6922 100755 (executable)
@@ -101,6 +101,7 @@ ok(pagespec_match("ook", "link(blog/tags/foo)"), "link internal absolute success
 ok(pagespec_match("ook", "link(/blog/tags/foo)"), "link explicit absolute success");
 ok(pagespec_match("meh", "!link(done)"), "negated failing match is a success");
 
+$ENV{TZ}="GMT";
 $IkiWiki::pagectime{foo}=1154532692; # Wed Aug  2 11:26 EDT 2006
 $IkiWiki::pagectime{bar}=1154532695; # after
 ok(pagespec_match("foo", "created_before(bar)"));