Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r19423: LJSV-1665 (Some tags used on protected e...

Committer: ailyin
LJSV-1665 (Some tags used on protected entries are still visible to the public)
U   trunk/cgi-bin/taglib.pl
Modified: trunk/cgi-bin/taglib.pl
===================================================================
--- trunk/cgi-bin/taglib.pl	2011-07-04 07:18:14 UTC (rev 19422)
+++ trunk/cgi-bin/taglib.pl	2011-07-04 07:29:34 UTC (rev 19423)
@@ -287,6 +287,10 @@
             }
 
             delete $tags_info->{$tagid} unless $accessible;
+        } elsif ( $sec eq 'private' ) {
+            delete $tags_info->{$tagid};
+        } else {
+            die "unknown security level $sec";
         }
     }
 

Tags: andy, livejournal, pl
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