fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-10-28 05:38 am

[dw-free] Consolidate *all* the places that generate a "this person is deleted" page

[commit: http://hg.dwscoalition.org/dw-free/rev/e983998524fa]

http://bugs.dwscoalition.org/show_bug.cgi?id=4002

Set the status code to 404.

Patch by [personal profile] exor674.

Files modified:
  • cgi-bin/LJ/User.pm
--------------------------------------------------------------------------------
diff -r 7a4b5facefdd -r e983998524fa cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm	Thu Oct 27 18:50:21 2011 +0800
+++ b/cgi-bin/LJ/User.pm	Fri Oct 28 13:36:59 2011 +0800
@@ -5613,6 +5613,7 @@
     return undef unless LJ::isu( $u );
 
     my $r = DW::Request->get;
+    $r->status( 404 );
 
     my $extra = {};
     if ( $opts{bml} ) {
--------------------------------------------------------------------------------