1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2024-11-28 08:58:52 +02:00

simple anti-bot measure

There is no point in tryingto find older explains
This commit is contained in:
Hubert depesz Lubaczewski 2013-03-30 17:44:30 +01:00
parent 645606933a
commit ac303a0069

View File

@ -139,6 +139,10 @@ sub history {
# date # date
my $date = $self->param( 'date' ); my $date = $self->param( 'date' );
if ( ( $date ) && ( $date < '2008-12-01' ) ) {
return $self->redirect_to( '/' );
}
# get result set from database # get result set from database
my $rs = $self->database->get_public_list_paged( $date ); my $rs = $self->database->get_public_list_paged( $date );