From 93310d10f0d74554f36537639b2abd9903da3620 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 19 Apr 2014 10:37:28 +0000 Subject: cgi: index pages allow iterating some pagination This allows WWW readers to slowly page through the entire history of the mailing list. --- t/cgi.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 't') diff --git a/t/cgi.t b/t/cgi.t index 611fb604..3cf230c0 100644 --- a/t/cgi.t +++ b/t/cgi.t @@ -121,8 +121,9 @@ EOF like($res->{head}, qr/Status: 200 OK/, "index returns 200"); my $idx = cgi_run("/test/index.html"); + $idx->{body} =~ s!/index.html(\?r=)!/$1!; # dirty... is_deeply($res, $idx, - '/$LISTNAME/ and /$LISTNAME/index.html are identical'); + '/$LISTNAME/ and /$LISTNAME/index.html are nearly identical'); # more checks in t/feed.t } -- cgit v1.2.3-24-ge0c7