{"body":"diff --git a/app.pl b/app.pl\n--- a/app.pl\n+++ b/app.pl\n@@ -8,6 +8,9 @@ get '(*dir)/:file' => sub {\n     my $self = shift;\n     my $dir  = $self->param('dir');\n     my $file = $self->param('file');\n+    unless (-f \"html/$dir/$file.html\") {\n+        return $self->render(template => 'does_not_exist');\n+    }\n     return $self->redirect_to(\"/$dir/$file.html\");\n };\n\n","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/WHgOl1g4","modified":1465485260,"id":"WHgOl1g4","size":364,"lines":13,"own_paste":false,"theme":"","date":1465485260}