bugWeeChat - Bugs: bug #36756, Usermode arguments misinterpreted...

 
 

bug #36756: Usermode arguments misinterpreted as usermodes

Submitted by:  Mantas Mikulėnas <grawity>
Submitted on:  Sat 30 Jun 2012 04:12:50 PM UTC  
 
Category:  irc plugin Severity:  3 - Normal
Item Group:  irc protocol Status:  Fixed
Privacy:  Public Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  Open/Closed:  Closed
Release:  0.3.8 IRC nick:  grawity

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 01 Jul 2012 09:59:07 AM UTC, comment #1:

Fixed.
The solution I implemented is to ignore everything after first space in user modes (so it's not specific to flag "+s").
I'm not sure if some servers are sending modes with this format for example: "+i +w", in which case the fix will ignore the "+w".
I think all servers are sending "+iw", which is working fine.
Please let me know if the fix is causing troubles with some servers.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Sat 30 Jun 2012 04:12:50 PM UTC, original submission:

The +s usermode, supported by various ircd's, accepts an argument consisting of a mode-like "snomask" (server notice mask), which allows the user to receive various server notices. Under some conditions, InspIRCd servers send this argument back to the user, in this form:

:grawity!grawity@panther.nathan7.eu MODE grawity +s +cCqQ

When WeeChat receives this line, it misinterprets the +cCqQ argument as actual user modes, and displays it in the "input" bar as "grawity(woscCqQ)" instead of the correct "grawity(wos)".

A test server is available at irc://sol.nullroute.eu.org:6669 – use "/oper test test" to obtain the mode.

Mantas Mikulėnas <grawity>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by grawity (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can 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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Sat 29 Sep 2012 09:28:29 AM UTC flashcode Open/ClosedOpen => Closed
    Sun 01 Jul 2012 09:59:07 AM UTC flashcode StatusNone => Fixed
        Assigned toNone => flashcode
        Release2.2-dev => 0.3.8

    Back to the top


    Powered by Savane 3.3