session management: use YAML::Syck for serialization
authorGalen Charlton <galen.charlton@liblime.com>
Thu, 27 Dec 2007 22:47:28 +0000 (16:47 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 27 Dec 2007 23:24:02 +0000 (17:24 -0600)
commita858e8a8b895640f2be80ea7b0f9a7b97afb4729
tree06252135a70faf848ce942a2f1e7b30e88acd988
parent88451107aeb037f78ef63b6af66f4f23ec4a4dc1
session management: use YAML::Syck for serialization

When using mysql and a sufficiently recent version
of DBD::mysql that actually respects the mysql_enable_utf8
option, setting the current branch to a name that
includes a diacritic causes the session to fail
and forces the user to the login screen upon
clicking another link.

This turned out to be due to the default (Data::Dumper)
serialization used by CGI::Session, which truncated the
session object at the diacritic.  By enabling
that module's YAML serialization option, the problem
was resolved.

This patch introduces a dependency on the YAML::Syck
module.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Auth.pm
Makefile.PL
about.pl
install_misc/debian.packages
installer/install.pl