Page 1 of 1

[0.7.11] Can't delete rss-feeds with german umlauts in it

Posted: March 20th, 2013, 3:43 pm
by Widofnir
Hello sabnzbd-Team,

I just discovered following bug: I tried to add a RSS-feed, and used german umlauts in the name-field. If you do so, you can't delete that feed anymore.

My system:
OS: Windows 7 ULTiMATE x64
sabnzbd: v0.7.11


Details:

Image

After adding the rss-feed "test with german umlauts -> ä ö ü" in above-shown picture, I was not able to delete that feed anymore. If I press the Button "X" next to that rss-feed, I received a message "Are you sure?", but pressing "yes" there does not remove it at all.

Workaround:

Image
I closed sabnzbd, opened sabnzbd.ini and changed line 293 to
[[Test with german umlauts -> a o u]]
After a sabnzbd-restart I was finally able to delete it.

If you need any further information, don't hesitate to contact me :).

Kind regards,
Widofnir

Re: [0.7.11] Can't delete rss-feeds with german umlauts in i

Posted: March 20th, 2013, 6:05 pm
by sander
I tested this on my Ubuntu with SAB 0.7.11, and I can confirm the problem. And sabnzbd's stdout says:

Code: Select all

2013-03-21 00:03:58,122::DEBUG::[config:619] Missing configuration item rss,Test of René
I checked sabnzbd.ini, and the line is:

Code: Select all

name = Test of Ren

Code: Select all

[[Test of Ren<E9>]]
pp = ""
enable = 0
name = Test of Ren<E9>

Code: Select all

hd sabnzbd.ini
000023b0  20 31 0a 5b 5b 54 65 73  74 20 6f 66 20 52 65 6e  | 1.[[Test of Ren|
000023c0  e9 5d 5d 0a 70 70 20 3d  20 22 22 0a 65 6e 61 62  |.]].pp = "".enab|
e9 is correct Extended ASCII Codes for é, but soomething weird is going on.

Checking sabnzbd.log:

Code: Select all

hd sabnzbd.log | grep -A6 Missing
004a8220  36 31 39 5d 20 4d 69 73  73 69 6e 67 20 63 6f 6e  |619] Missing con|
004a8230  66 69 67 75 72 61 74 69  6f 6e 20 69 74 65 6d 20  |figuration item |
004a8240  72 73 73 2c 54 65 73 74  20 6f 66 20 52 65 6e c3  |rss,Test of Ren.|
004a8250  a9 0a                                             |..|
004a8252
So there the code is c3? That's Ã? Strange; it shows correctly on my console output ???

EDIT:

Ah: it's C3 A9, and that's the encodeURI(chr) of é:

Code: Select all

chr 	HexCode  	Numeric  	HTML entity 	escape(chr) 	encodeURI(chr) 	 Description
é	\xE9	&#233;	&eacute;	%E9	%C3%A9	latin small letter e with acute
So somewhere the encoding goes from Extended ASCII to encoodeURI ... ?

Re: [0.7.11] Can't delete rss-feeds with german umlauts in i

Posted: March 21st, 2013, 3:18 pm
by shypike
Will only be fixed in the 0.8.0 release, which will support full Unicode.

Re: [0.7.11] Can't delete rss-feeds with german umlauts in i

Posted: March 22nd, 2013, 11:02 am
by Widofnir
Cool. Thanks for info :).