eZTextFileUser uses fgets() to read a line from the CSV file. It doesn't trim the newline which is included at the end of the line. This means that the last name of the user, and the object name, will end with a newline. This causes the url alias system to choke.
The patch simply adds a trim() around the fgets(). It also removes a stray whitespace.
- Set up textfile based login
- Log in with a textfile user
- Go to the user list, try to view the user that was created -> this gives an "object not found" error (but viewing it with content/view/full/ works)
- In the database, both ezcontentobject.name and ezurlalias_ml.text end with a newline