vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r21456: LJSV-2107: Some users cannot view their ...

Committer: vad
LJSV-2107: Some users cannot view their entries, get 'page not found' message
U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2012-03-19 13:48:22 UTC (rev 21455)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2012-03-19 13:59:00 UTC (rev 21456)
@@ -389,7 +389,7 @@
         ## check that request URL is canonical (i.e. it starts with $u->journal_base)
         ## if not, construct canonical URL and redirect there
         ## (redirect cases: old http://community.lj.com/name URL, upper-case URLs, hyphen/underscore in usernames etc)
-        if ($u && $host =~ m!^(users|community)!){
+        if ($u && $host =~ m!^(users|community)\.!){
             my $journal_base = $u->journal_base();
             my $username = $u->username;
             if ($username !~ /(^_)|(_$)/){

Tags: livejournal, pm, vad, vadvs
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