I would say trim is ok for folder names, till now no one had a problem with or without it ;-)

hmm memory is ECC so it shouldn't die without cry but who knows...

Am 26.11.2013, 15:23 Uhr, schrieb Reindl Harald <[email protected]>:


Am 26.11.2013 15:18, schrieb Paul J Stevens:
the reason seams the space on the end.

Ah yes, didn't we discuss that one on irc? MySQL doesn't differentiate
between indexed values if they start with, or end with spaces.

Question is: do we really want to differentiate between:

'some/mailbox ' and
'some/mailbox'

if not, I could add some code to strip the mailbox names

honestly in PHP i wrap trim() around any user input over years
and if it's only because copy&paste from users leads way too
often in invisible whitespaces at the end and failed logins

IMHO there should be finally a chekc in dbmail-util to cleanup
existing foldernames, the affected userbase should be small
to non-existent and a restart of the client be enough



--
Harald Leithner

ITronic
Wiedner Hauptstraße 120-124/5.1, 1050 Wien, Austria
Tel: +43-1-545 0 604
Fax: +43-1-786 23 88 26
Mobil: +43-699-123 78 4 78
Mail: [email protected] | itronic.at
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to