New user account problem

Discussion of the Web Interface for Transmission, formerly known as Clutch. This applies to all version of Transmission
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: New user account problem

Post by rb07 »

tores wrote:included in the password string the characters $ and ?
I don't see any restrictions in the characters used in a password, that is looking at the code, so it is really unexpected and strange.

I was going to put what you said in the Wiki, but I don't think there are restrictions. There's probably one, which I haven't tested, and that is if you start your password with '{', even foreign characters could probably be used... or not, come to think about it, what if the browser is sending UTF-8, or something even weirder, but that doesn't explain '$' and '?', those are ASCII and UTF-8 includes ASCII as is.
tores
Posts: 9
Joined: Wed Aug 03, 2011 11:00 am

Re: New user account problem

Post by tores »

When i tested the command you posted ,everything was allright.I could connect with the admin-password elements.When i changed the password with my own,i couldn't(everything else the same).
When i took out of the string the ? and $ characters i could connect fine.The rest of the string are plain alphabet characters.
The strange is that the password of another user (in the same seedbox) contains the characters $ and #,and it works fine.Maybe it was just the ? character.I didn't continue the tests so i can't be sure.
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: New user account problem

Post by rb07 »

That makes sense, and it means its a bug: treats '?' as special character in the password... but I still don't see it in the code, it sounds like somehow the field is treated as if it where a filter (with regular expressions, or at least '?' and '*' as special, who knows about the others, like '.', '+', '[', ']', etc.)

I can't find any documentation on setting or changing the Web client user or password. I learned it from somewhere, probably on this forums, but it really should be in the Wiki (and written by someone with knowledge, who can make clear what can be used, how long can those strings be).
Post Reply