bugWeeChat - Bugs: bug #26265, TCL hooks dont escape string...

 
 

bug #26265: TCL hooks dont escape string parameters

Submitted by:  None
Submitted on:  Tue 21 Apr 2009 07:49:57 AM UTC  
 
Category: script API pluginsSeverity: 3 - Normal
Item Group: securityStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: sleoOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 0.3.0
IRC nick: sleo

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 24 Apr 2009 08:56:33 AM UTC, comment #2:

New patch commited.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Tue 21 Apr 2009 01:23:24 PM UTC, comment #1:

There's pending patch #6810, which is not ok today.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Tue 21 Apr 2009 07:49:57 AM UTC, original submission:

This simple tcl script doesnt work properly if the incoming text includes [ or ] chars.

weechat::register "err" "" "0.1" "GPL3" "descr" "" ""
weechat::hook_modifier "irc_in_privmsg" "ircIn"
proc ircIn {modifier server text} {return $text}

e.g. a simple channel message: "os: [Linux 2.6.29-ARCH x86_64]" shows the following error in weechat buffer:
tcl unable to run function "ircIn": invalid command name "Linux"

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by flashcode (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 06 Sep 2009 06:43:41 PM UTCflashcodeOpen/ClosedOpen=>Closed
      Release2.1-dev=>0.3.0
    Fri 24 Apr 2009 08:56:33 AM UTCflashcodeStatusConfirmed=>Fixed
    Tue 21 Apr 2009 01:23:24 PM UTCflashcodeCategoryscripts=>script API plugins
      Item GroupNone=>security
      StatusNone=>Confirmed
      Assigned toNone=>flashcode

    Back to the top


    Powered by Savane 3.1-cleanup1