[TYPO3-dev] fetchUserRecord() - no white space trimming?

Robert Wildling rowild at gmx.net
Tue Oct 15 07:31:28 CEST 2013


Hi,

If i understood correctly, fetchUserRecord() is (also) used for backend 
authentification.

Today I realized that I had entered a username that got prependend with 
a white space.

After looking through the user-auth-file in t3lib (TYPO3 4.5, TYPO3 
4.7), I did find various functions, also the fullQuoteStr-function, 
which uses a mysql_real_escape_string, but nowhere is anything that 
handles trimming (trim?).

My question: what do I oversee? Or - if I do not oversee anything - why 
is a username not trimmed for white space?

Thanks!
Best regards,
Robert



More information about the TYPO3-dev mailing list