[dw-free] Instance of "Friends" when using incorrect reading page URL syntax
[commit: http://hg.dwscoalition.org/dw-free/rev/ce5a9a5ce002]
http://bugs.dwscoalition.org/show_bug.cgi?id=1545
Cleaning up error messages referring to friend groups.
Patch by
chemicallace.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1545
Cleaning up error messages referring to friend groups.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/Apache/LiveJournal.pm
-------------------------------------------------------------------------------- diff -r e02a3a02db48 -r ce5a9a5ce002 cgi-bin/Apache/LiveJournal.pm --- a/cgi-bin/Apache/LiveJournal.pm Thu Aug 06 10:35:03 2009 -0500 +++ b/cgi-bin/Apache/LiveJournal.pm Thu Aug 06 10:52:05 2009 -0500 @@ -657,7 +657,7 @@ sub trans } elsif ($uuri =~ m! /([a-z\_]+)? # optional /<viewname> - (.*) # path extra: /FriendGroup, for example + (.*) # path extra: /ReadingFilter, for example !x && ($1 eq "" || defined $LJ::viewinfo{$1})) { ($mode, $pe) = ($1, $2); @@ -1402,16 +1402,16 @@ sub journal_content { # give a real 404 to the journal owner if ($remote && $remote->{'user'} eq $user) { - $status = "404 Friend group does not exist"; + $status = "404 Reading filter does not exist"; $html = "<h1>Not Found</h1>" . - "<p>The friend group you are trying to access does not exist.</p>"; + "<p>The reading filter you are trying to access does not exist.</p>"; # otherwise be vague with a 403 } else { # send back a 403 and don't reveal if the group existed or not - $status = "403 Friend group does not exist, or is not public"; + $status = "403 Reading filter does not exist, or is not public"; $html = "<h1>Denied</h1>" . - "<p>Sorry, the friend group you are trying to access does not exist " . + "<p>Sorry, the reading filter you are trying to access does not exist " . "or is not public.</p>\n"; $html .= "<p>You're not logged in. If you're the owner of this journal, " . --------------------------------------------------------------------------------