fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-12-05 01:03 pm

[dw-free] Delete changes that crept in by mistake.

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

Delete changes that crept in by mistake.

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/DW/Controller/Entry.pm
--------------------------------------------------------------------------------
diff -r f7495c8d423b -r c03a927d8c0b cgi-bin/DW/Controller/Entry.pm
--- a/cgi-bin/DW/Controller/Entry.pm	Mon Dec 05 20:26:14 2011 +0800
+++ b/cgi-bin/DW/Controller/Entry.pm	Mon Dec 05 21:03:52 2011 +0800
@@ -52,7 +52,7 @@
 # redirect to app-space
 sub _user_to_app_role {
     my ( $path ) = @_;
-    return DW::Request->get->redirect( LJ::create_url( $path, host => $LJ::SITEROOT ) );
+    return DW::Request->get->redirect( "$LJ::SITEROOT$path" );
 }
 
 sub _new_handler_userspace { return _user_to_app_role( "/entry/$_[0]->{username}/new" ) }
--------------------------------------------------------------------------------