mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #04047
Re: [Bug 787313] Re: having a trailing space on username doesn't work
I would suggest trimming when creating new user, and either trimming in
the app, or trimming in /artefact/file/mobileuploads.php
On 24/05/11 16:31, François Marier wrote:
> Is that trimming when creating a new user in the site admin area or
> trimming in the Android app?
>
> ** Changed in: mahara
> Status: New => Triaged
>
> ** Changed in: mahara
> Status: Triaged => Confirmed
>
> ** Changed in: mahara
> Importance: Undecided => Medium
>
--
Hugh Davenport
803 2258
Developer
Catalyst Ltd.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/787313
Title:
having a trailing space on username doesn't work
Status in Mahara ePortfolio:
Confirmed
Bug description:
I only noticed this when I was using MaharaDroid, and the input
autocompleted my username of hughdavenport, and when it autocompletes
it puts a ' ' after it. The app then said I had an invalid token,
though it was correct, removing ' ' made it work.
This also happens in manual login.
Wishlist most likely, but it would be a good idea to trim entered
usernames or something, as a space is not allowed in the username
(according to the error message that comes up when adding a username
with a space)
Cheers,
Hugh
References