Hi to all!
My name is Kester and I'm new to Maypole and this list. I've been
using maypole for the last few weeks and now that I can reach the list
server again, I'd like so submit some bugs I stumbled across and also
ask some question.
First of all I'd like to thank you for creating Maypole, it's really
usefull for me and fun.
Bug 1)
When using document_encoding utf-8 (instead of iso-8859-1) which is
default now and also using utf-8 chars with 16 bit encoding like
german umlauts: The http-header Content-Langth is one byte short for
every 16 bit character. This will cause some browsers only to display
the number of chars specified in the header (which I think is
correct). Other browsers will ignore this and display everything.
Ths is what perldoc -f length has to say:
length EXPR
Returns the length in characters of the value of EXPR.
[ ... ]
Note the characters: if the EXPR is in Unicode, you will get
the number of characters, not the number of bytes. To get the
length in bytes, use "do { use bytes; length(EXPR) }", see
bytes.
Patch against todays svn checkout is included, but should also work
with older version.
Bug 2)
Is only a bug in the documentation. When using a different name for
the password with
__PACKAGE__->config->{auth}{password_field} = "my_password_field";
This line
Password: <INPUT TYPE="password" NAME="password">
from perldoc Maypole::Manual::Request will not work.
Patch included, too.
Regards,
Kester.
_______________________________________________
maypole-dev mailing list
maypole-dev at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole-dev
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT