[koha-commits] main Koha release repository branch 3.8.x updated. v3.08.06-8-g2aa82cb

Git repo owner gitmaster at git.koha-community.org
Wed Oct 24 22:11:10 CEST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, 3.8.x has been updated
       via  2aa82cb278fb975b776689c4736e36c43f071892 (commit)
      from  87c1cf0a641e117bfce0026a4e34a84d68fccd62 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2aa82cb278fb975b776689c4736e36c43f071892
Author: Dobrica Pavlinusic <dpavlin at rot13.org>
Date:   Mon Oct 22 14:13:12 2012 +0200

    Bug 8953 - opac-userupdate encoding issues
    
    This script has various encoding problems:
    
    1. parametars from CGI are not encoded in utf-8, so when they are
       compared with utf-8 strings from database every field with
       utf-8 characters will be reported in e-mail as changed
    2. when sending e-mail, wide characters are passed to Mail::Sendmail
       which results in software error if edited field has utf-8 characters
       (because of first point, this happend if ANY fields has utf-8 chars)
    3. when declaring encoding for outgoing e-mail utf-8 is more correct
       than just utf8
    
    Test scenario:
    
    1. open opac-userupdate and edit user which has utf-8 characters in
       at least one field (firstname and surname are common examples)
    2. edit one of other fields and add utf-8 character to it
    3. verify that e-mail with changes arrived with just edited field
    
    Signed-off-by: Mirko Tietgen <mirko at abunchofthings.net>
    Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

-----------------------------------------------------------------------

Summary of changes:
 opac/opac-userupdate.pl |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list