2heoh (2heoh) wrote in changelog,
2heoh
2heoh
changelog

[livejournal] r19379: LJM-1839: Integration m.livejournal.com ...

Committer: slobin
LJM-1839: Integration m.livejournal.com into big version LiveJournal

M cgi-bin/Apache/LiveJournal.pm
M htdocs/talkpost_do.bml
U   branches/mobile/cgi-bin/Apache/LiveJournal.pm
U   branches/mobile/htdocs/talkpost_do.bml
Modified: branches/mobile/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- branches/mobile/cgi-bin/Apache/LiveJournal.pm	2011-06-28 03:35:39 UTC (rev 19378)
+++ branches/mobile/cgi-bin/Apache/LiveJournal.pm	2011-06-28 06:08:21 UTC (rev 19379)
@@ -363,7 +363,7 @@
                 return LJ::Request::REDIRECT;
             }
 
-            #return $result; 
+            return LJ::Request::OK;
         } );
         return LJ::Request::OK;
     }

Modified: branches/mobile/htdocs/talkpost_do.bml
===================================================================
--- branches/mobile/htdocs/talkpost_do.bml	2011-06-28 03:35:39 UTC (rev 19378)
+++ branches/mobile/htdocs/talkpost_do.bml	2011-06-28 06:08:21 UTC (rev 19379)
@@ -290,7 +290,7 @@
 
         $commentlink = $uri->as_string;
     # need to return on mobile version
-    } elsif ($POST{'mobile_domain'} =~ qr/$LJ::DOMAIN$/) {
+    } elsif ($POST{'mobile_domain'} =~ qr/^\w\.$LJ::DOMAIN$/) {
         my $mobile_link = LJ::Mob::Uri->find($talkurl);
         $commentlink = "http://$POST{'mobile_domain'}$mobile_link/comments#comments";
     } elsif ($POST{'viewing_thread'} eq '') {

Tags: 2heoh, bml, livejournal, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments