The issue is the whole command line is 'parsed' into tokens by
CommandRunner using split(). CommandRunner has no knowledge of the
syntax of the command. It only knows the first token is the command name
and it passes the list of tokens to the command. Thus, the 'who' command
gets ['This', 'is', 'just',  'one',  'password',
'[email protected]']. Even if it were to recognize that
arg[5] is an 'address=' and assume arg[:5] is the words of the password,
it still doesn't know how to reassemble them as there may have been
multiple spaces between words.

The correct fix would be to teach CommandRunner about quotes and escapes
so it could correctly parse 'How\'s this for a password' into one token.
This is complex, but I'll work on it.

I'm curious though as to why you can't get the roster via the web UI.

** Changed in: mailman
       Status: New => Confirmed

** Changed in: mailman
     Assignee: (unassigned) => Mark Sapiro (msapiro)

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1830663

Title:
  admin email interface fails w/ password holding space

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1830663/+subscriptions
_______________________________________________
Mailman-coders mailing list
[email protected]
https://mail.python.org/mailman/listinfo/mailman-coders

Reply via email to