SabNZBd adding zero-width-space after every dot

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
Hurda
Newbie
Newbie
Posts: 37
Joined: November 7th, 2011, 4:30 am

SabNZBd adding zero-width-space after every dot

Post by Hurda »

I always wondered why I couldn't find for phrases like "foo.bar" on the SabNZBd-queue-page.

Now I found out why that is: SabNZBd is adding a zero-width space ( http://www.fileformat.info/info/unicode ... /index.htm ) after every dot.

So if you got a download called "test.foo.bar.2014" and you are searching for "foo.b", Firefox and IE cannot find it. Apparently Chrome ignores the zero-width space and can find the phrase.

Proof: HTML-sourcecode of the queue-page viewed in a hex-editor:

http://i.imgur.com/jiTxICa.png
(E2808B is the hex for this character)

In the "History"-sections, searching for "foo.bar" would work fine though.
Hurda
Newbie
Newbie
Posts: 37
Joined: November 7th, 2011, 4:30 am

Re: SabNZBd adding zero-width-space after every dot

Post by Hurda »

I just found the reason for the zero-width spaces: http://forums.sabnzbd.org/viewtopic.php?t=11042

There's been a lot of work put into Firefox since then, maybe that workaround isn't needed anymore?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SabNZBd adding zero-width-space after every dot

Post by shypike »

The zero-width space was added to enable proper wrapping of long titles.
(Only in Queue, not in History)
Unfortunately the side-effect is that some browsers don't ignore it in searches.

In the next major release, the queue will have a built-in filter (like History already has).
Hurda
Newbie
Newbie
Posts: 37
Joined: November 7th, 2011, 4:30 am

Re: SabNZBd adding zero-width-space after every dot

Post by Hurda »

OK, thanks.
Post Reply