"glob" is unsafely used in the code, its not protected against detecting file names as attributes
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Coccinella |
Fix Released
|
High
|
buzzdee | ||
Bug Description
If there is a contact in roster, whose login begins with a minus sign ("-"), Coccinella cannot handle this situation properly.
Trying to open a chat with such contact gives the following error message:
########## Begin qoute ##########
bad option "-=jibbenok=
bad option "-=jibbenok=
while executing
"glob -nocomplain -directory $this(historyPath) ${rootTail}-*.nxml"
(procedure "XGetAllNXMLFil
invoked from within
"XGetAllNXMLFil
########### End qoute ###########
In this example, the login I am talking about is "-=jibbenok=
I guess, if there is a possibility to register such login name, there should also be an ability for other people (with different jabber clients) to use such login name in there roster. Or am I wrong?
Regards,
Vladimir
| Changed in coccinella: | |
| status: | Fix Committed → Fix Released |

IIRC, utf8 characters are allowed in user names.
The problem is the glob. In TCL, options begin with a "-" and tcl takes the username as an option.
I'll take a look at it.