Watch, Follow, &
Connect with Us
Public Report
Report From: EDN/Discussion Forums/NNTP interface    [ Add a report in this area ]  
Report #:  82515   Status: Open
Number of lines reported for attachments in (X)OVER data and in the headers is about 50% too much.
Project:  EDN Build #:  beta
Version:    2 Submitted By:   Pieter Zijlstra
Report Type:  Minor failure / Design problem Date Reported:  2/26/2010 4:30:55 PM
Severity:    Infrequently encountered problem Last Updated: 6/4/2010 10:15:47 PM
Platform:    All platforms Internal Tracking #:  
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
I'm aware that this is original a web-forum and that messages are stored differently which makes it a little hard to calculate tha actual number
of lines as specified by the RFC. Although the current formula works good enough for normal text-only messages, the (same?)  formula for
determining the number of lines of posts containing attachments is way too much of.

Background: some newsreaders do offer its users (with low-bandwith) to prevent downloading posts based on the number of lines, that
requires a certain amount of accuracy of the number of lines reported by the server.

Currently the number of lines reported by this server is about 50% too high compared to the actal number of lines of such a post containing an
attachement.  See steps...
Steps to Reproduce:
Following is using as an example a post from embarcadero.public.attachment

https://forums.embarcadero.com/thread.jspa?messageID=208619&tstart=0#208619

According to server generated header information this post contains 26625 lines, if you look at the raw data (*) of this base64 encoded post and copy it to a text editor capable of showing line-numbers, you'll see that it only contains 17586 lines.

(*)
XanaNews:  to see the raw data in XanaNews right-click in the message-pane and select from the context-menu Message -> Raw, copy all text but the headers and paste for instance in PSPad (or the IDE).

MSOE: to see the raw data in Outlook Express (or Windows Mail on Vista) right-cllick on the post in the message-tree and select Properties from the context-menu -> select Tab "Details" and then button "Source", and then as above, select all text of the body and copy it to a text-editor capable
of showing line-numbers.


Example:
( from Windows mail as installed by default on Vista Ultimate x64 SP2)

From: Cesar Romero <cesarliws@gmail.com>
Subject: Docking Demo
Newsgroups: embarcadero.public.attachments
Path: forums.codegear.com
Xref: forums.codegear.com embarcadero.public.attachments:1118
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="JivePart=_32eeb.zeB8CwDOH5aMJzMl"
Message-ID: <210060@forums.codegear.com>
Lines: 26625

00001: This message is in MIME format. Since your mail reader does not
...
17584: --JivePart=_32eeb.zeB8CwDOH5aMJzMl--

Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01