Bug #886

avatar

passwords containing quotes will be cut off at the quote

Added by Oliver Schneider 3866 days ago. Updated 3158 days ago.

Status:New Start:09/25/2013
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Engine
Target version:-
Complexity:

Medium

Found in Version:

Votes: 0

Description

this happens only after restarting smuxi, so it has to do with the config save files

History

Updated by Mirco Bauer 3803 days ago

avatar
  • Category set to Engine
  • Complexity set to Medium

This is a bug in nini that needs to be dealt with. By default Nini skips all quotes and thus writing a value with quotes will break the ini file format.

Updated by Jim Cheetham 3158 days ago

avatar

Glad I found this bug report - I had been assuming that the reason one of my accounts was failing to login after a restart was because of a password length issue; but it turns out it was due to the double-quote character ". A single-quote character ' works fine.

I'll assume that a similar problem will happen if the user's password starts or ends with a space character ...

It would probably make sense to encode the password before storing it in an ini file format in that case; simple base64 might be a reasonable workaround?

Also available in: Atom PDF