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

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
User avatar
Widofnir
Newbie
Newbie
Posts: 22
Joined: February 3rd, 2012, 3:20 am

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

Post 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
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

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

Post 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 ... ?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

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

Post by shypike »

Will only be fixed in the 0.8.0 release, which will support full Unicode.
User avatar
Widofnir
Newbie
Newbie
Posts: 22
Joined: February 3rd, 2012, 3:20 am

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

Post by Widofnir »

Cool. Thanks for info :).
Post Reply