Ignore:
Timestamp:
Aug 16, 2017, 12:53:41 PM (7 years ago)
Author:
Jason Gross <jasongross9@gmail.com>
Branches:
master
Children:
3374de9
Parents:
03fbf66
git-author:
Jason Gross <jgross@mit.edu> (07/21/11 00:29:30)
git-committer:
Jason Gross <jasongross9@gmail.com> (08/16/17 12:53:41)
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

    r5093c6f r94b4b99e  
    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.