TypeError in handling moderator requests.

Bug #1950833 reported by Mark Sapiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Critical
Mark Sapiro

Bug Description

The fix for https://bugs.launchpad.net/mailman/+bug/1949403 can cause this issue in the admindb interface if a list has no moderator password

Traceback (most recent call last):
  File "/mailman/mailman-${domainslug}/scripts/driver", line 117, in run_main
    main()
  File "/mailman/mailman-${domainslug}/Mailman/Cgi/admindb.py", line 342, in main
    print doc.Format()
  File "/mailman/mailman-${domainslug}/Mailman/htmlformat.py", line 352, in Format
    output.append(Container.Format(self, indent))
  File "/mailman/mailman-${domainslug}/Mailman/htmlformat.py", line 267, in Format
    output.append(HTMLFormatObject(item, indent))
  File "/mailman/mailman-${domainslug}/Mailman/htmlformat.py", line 53, in HTMLFormatObject
    return item.Format(indent)
  File "/mailman/mailman-${domainslug}/Mailman/htmlformat.py", line 445, in Format
    % csrf_token(self.mlist, self.contexts, self.user)
  File "/mailman/mailman-${domainslug}/Mailman/CSRFcheck.py", line 53, in csrf_token
    mac = sha_new(secret + `issued`).hexdigest()
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Related branches

Mark Sapiro (msapiro)
summary: - TypeError in nandling moderator requests.
+ TypeError in handling moderator requests.
Mark Sapiro (msapiro)
Changed in mailman:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.