From: poy <po...@12...> - 2008-08-13 14:05:08
|
in ADCH++, it's pretty easy to add a new line to the hub name or description, simply by adding a new line in the settings file in the contents of the "HubName" or "Description" tags. this violates the ADC spec ("code point equal to or greater than 32") and results in messed up title bar and tab title in DC++. there are 3 places where behaviors could/should be changed: - ADCH++ should make sure it doesn't send forbidden chars in its INF. - DC++ should handle bad chars in incoming INFs and either discard theses INFs or replace bad chars with eg spaces. - DWT's window and tab controls obviously don't support new lines, so they should replace CRs & LFs with eg spaces. poy |