← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 657241] Re: DC++ Allowing \n char in Titlebar/topic

 

here are the old patches. the ADCH++ one won't apply; it should be applied to adchppd.cpp instead.
with the latest DC++ and ADCH++, i can still reproduce the space in the hub name easily (should be forbidden), but not a new line; so there may already be some sanitization going on.
note that to test with ADCH++, one must disable scripts as they implement their own validation of the hub name and description.

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/657241

Title:
  DC++ Allowing \n char in Titlebar/topic

Status in DC++:
  Confirmed

Bug description:
  As of DC++ 0.777 Rev. 2258, DC++ is allowing \n (newline) characters
  to be placed into the title bar/topic effectively pushing text upwards
  and with 2 or more /n chars the text is completely gone, \n chars
  should be removed from the titlebar/topic.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/657241/+subscriptions


References