Skip to Content.
Sympa Menu

devel - Capital letters in added user names

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: "Adam Bernstein" <address@concealed>
  • To: <address@concealed>
  • Subject: Capital letters in added user names
  • Date: Wed, 5 Nov 2003 11:05:08 -0800

For some reason, if you add a single subscriber like
"address@concealed, Full Name" on the Review page, all capital letters
are changed to lowercase. But adding a list of subscribers on the
Multiple Add page preserves capitals with no trouble. Also, I've
always been confused about the different input processing -- why
do we need a comma separator in the single-add field but a space on
the multiple-add page? I can't see any reason why the code is
different.

So I've gotten around it by just changing the name of the input field
in the template for single adds to the same thing as on the multiple
add page, from "email" to "dump". All subscriber adds are now
processed the same way, and capital letters are preserved for all.
A one-line template patch is given below, but there's probably a
better fix to this -- Sympa team?

I've also submitted a couple of bugs lately, one with a quick patch
and the other also with an easy fix, but seen no action yet....

adam

*** review.us.tpl Wed Oct 29 11:22:31 2003
--- review.us.new Wed Nov 5 10:57:34 2003
***************
*** 9,15 ****
<INPUT TYPE="hidden" NAME="previous_action" VALUE="review">
<INPUT TYPE="hidden" NAME="list" VALUE="[list]">
<INPUT TYPE="hidden" NAME="action" VALUE="add">
! <INPUT TYPE="text" NAME="email" SIZE="35">
<INPUT TYPE="submit" NAME="action_add" VALUE="Add"> quiet<INPUT
TYPE="chec
kbox" NAME="quiet">
</FORM>
</TD>
--- 9,15 ----
<INPUT TYPE="hidden" NAME="previous_action" VALUE="review">
<INPUT TYPE="hidden" NAME="list" VALUE="[list]">
<INPUT TYPE="hidden" NAME="action" VALUE="add">
! <INPUT TYPE="text" NAME="dump" SIZE="35">
<INPUT TYPE="submit" NAME="action_add" VALUE="Add"> quiet<INPUT
TYPE="chec
kbox" NAME="quiet">
</FORM>
</TD>




Archive powered by MHonArc 2.6.19+.

Top of Page