Export to NZB does not comply with file specification
Submitted by hifi55
Assigned to pan..@..e.bugs
Link to original bug (#791430)
Description
Running Pan 0.142 Windows:
Save Articles to an NZB file... creates an NZB file that doesn't correctly enumerate the segments. Pan creates files where the subject attribute ends like ... vol000+01.PAR2" yEnc (/3)"> whereas it should create ... vol000+01.PAR2" yEnc (1/3)">
The missing 1 in front of the slash causes some binary readers to only read the first segment of the file, therefore downloading an incomplete file that finally turns out to be corrupt.
The NZB-specification at https://sabnzbd.org/wiki/extra/nzb-spec states for the subject attribute: "string - A slightly munged copy of the article's subject. The segment counter (xx/yy) usually found at the end, is replaced with (1/yy). You can use the yy to confirm all segments are present."
So(1/yy) is expected instead of (/yy).
Version: 0.14.2