Application error when drag file to coccinella contact
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Coccinella |
Fix Released
|
Medium
|
Mats |
Bug Description
I get an application error when i drag a file to a coccinella contact and this file has a name with uncommond symbols.
For example when i drag and drop a file with a name: $requeriments.doc i get an error window Error: can´t read "requeriments" no such varaiable. The details are:
invalid command name "1"
invalid command name "1"
while executing
"1"
invoked from within
"subst $url"
(procedure "uriencode:
invoked from within
"uriencode:
(procedure "uriencode:
invoked from within
"uriencode:
(procedure "::RosterTree:
invoked from within
"::RosterTree:
I have Windows XP with SP2. The drag and drop function works good, but i found this error happen for files with the symbols: $ and [.
I don´t get any errors with symbols like: @#~-_%¿&()=?¡°¬!, etc...
Changed in coccinella: | |
assignee: | nobody → matsben |
importance: | Undecided → Medium |
Changed in coccinella: | |
status: | Fix Committed → Fix Released |
Scripting languages are good in many places but tend to do parsing when you don't expect it.
Switched to the tcllib's uri::urn package which handle tcl special characters. There are more to do before my own uriencode package can be trashed. I just tested that the url decoding is handling Tcl special characters, but hasn't tested actual case.