Changeset 681ce76


Ignore:
Timestamp:
Jan 7, 2014, 6:02:22 PM (8 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
c0d31b3
Parents:
1210b54
git-author:
Jason Gross <jgross@mit.edu> (07/21/11 00:29:30)
git-committer:
Jason Gross <jgross@mit.edu> (01/07/14 18:02:22)
Message:
Ignore kerberos instances in the sender and recipient when logging

This fixes trac-#151 (Handle logging of personal zephyrs from different
instances of Kerberos principals sanely).  Stripping the instance is
only done for the filename, not for the actual log contents.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Message/Zephyr.pm

    r6e764aa r681ce76  
    264264        push @filenames, $m->recipient;
    265265    }
    266     return map { lc(NFKC(strip_realm($_))) } @filenames;
     266    return map { lc(NFKC(BarnOwl::zephyr_smartstrip_user(strip_realm($_)))) } @filenames;
    267267}
    268268
Note: See TracChangeset for help on using the changeset viewer.