Bug #620

avatar

Escaping characters

Added by Bheesham Persaud 4845 days ago. Updated 4807 days ago.

Status:New Start:08/17/2011
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

0%

Category:Engine
Target version:-
Complexity:

Low

Found in Version:

Votes: 1 (View)

Description

I'm not allowed to use the character " when adding content to the On Connect commands.

Example:
/msg BOTNAME LOGIN "username" "password"
/join #special

Result:
/msg BOTNAME LOGIN

Be sure to restart the program.

History

Updated by Mirco Bauer 4844 days ago

avatar
  • Category changed from Common to Engine
  • Target version deleted (0.8)
  • Complexity set to Low

This seems to be a limitation of the INI file parser used, it uses " to mark the beginning and end of the value. Unfortunately it doesn't seem to have any escape character for it, see:
http://nini.svn.sourceforge.net/viewvc/nini/trunk/Nini/Source/Ini/IniReader.cs?revision=242&view=markup#l424

Smuxi could replace the " character with something else and replace it back when reading the config...

Also available in: Atom PDF