1. Olemis Lang
  2. bloodhound-t-h.o

Commits

dkg...@7322e99d-02ea-0310-aa39-e9a107903beb  committed 5cccedc

use NotifyEmail.addrsep_re to parse cc field (Closes #10171)

  • Participants
  • Parent commits 533d2f4
  • Branches default

Comments (0)

Files changed (1)

File sensitiveticketsplugin/trunk/sensitivetickets/sensitivetickets.py

View file
             return False
         return (self.allow_owner and (ticket['owner'] == username)) or \
             (self.allow_reporter and (ticket['reporter'] == username)) or \
-            (self.allow_cc and (username in [x.strip() for x in ticket['cc'].split(',')]))
+            (self.allow_cc and (username in NotifyEmail.addrsep_re.split(ticket['cc'])))