KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
58290
:
Bad References: field in Supersede
P
roduct
:
knode
Co
m
ponent
:
general
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
unspecified
Pr
i
ority
:
NOR
Severity
:
normal
V
otes
:
0
Description
:
Opened:
2003-05-09 23:34
Last Changed:
2005-05-17 16:02:05
Version: 0.7.2 (using KDE KDE 3.1) Installed from: Mandrake RPMs OS: Linux When you want to "supersedes" the first article of a thread, Knode includes an empty References: field. So the server rejects the article : "441 437 No colon-space in "References" header" Article sample : Message-Id: <
1343439.05auqCzuUL@plam.org
> Supersedes: <
Xns3AEBFC620ED81plam@news.free.fr
> From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= <
plamaiziere@alussinan.org
> Subject: aaa Newsgroups: proxad.test Date: Fri, 09 May 2003 23:27:09 +0200 References: Lines: 3 Organization: non User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit
Comment
#1
joao fraga com 2003-06-28 19:11:17
I confirm this on 0.7.1 too. While this bug doesn't create any problems on most servers, it seems that Microsoft news server does not like headers with no content. So this server simply rejects the post with the error message: «The 'References:' field requires one or more values»
Comment
#2
Patrick Lamaiziere 2003-06-29 11:59:13
I asked my newsmaster, the server is INN. «The 'References:' field requires one or more values» Yes, RFC 1036 : 2.2.5. References This field lists the Message-ID's of any messages prompting the submission of this message. It is required for all follow-up messages, and forbidden when a new subject is raised.
Comment
#3
Stephan Kulow 2004-05-31 20:35:33
Replaced
plamaiziere@free.fr
with
null@kde.org
due to bounces by reporter
Comment
#4
Volker Krause 2005-05-17 16:00:27
SVN commit 414978 by vkrause: Don't create empty reference headers on supersede. CCBUG: 58290 M +2 -1 trunk/KDE/kdepim/knode/knarticlefactory.cpp --- trunk/KDE/kdepim/knode/knarticlefactory.cpp #414977:414978 @@ -486,7 +486,8 @@ art->followUpTo()->from7BitString(a->followUpTo()->as7BitString(false)); //References - art->references()->from7BitString(a->references()->as7BitString(false)); + if ( !a->references()->isEmpty() ) + art->references()->from7BitString( a->references()->as7BitString(false) ); //Supersedes art->supersedes()->from7BitString(a->messageID()->as7BitString(false));
Comment
#5
Volker Krause 2005-05-17 16:02:05
SVN commit 414982 by vkrause: Backport from trunk: Don't create empty reference headers on supersede. BUG: 58290 M +2 -1 branches/KDE/3.4/kdepim/knode/knarticlefactory.cpp --- branches/KDE/3.4/kdepim/knode/knarticlefactory.cpp #414981:414982 @@ -486,7 +486,8 @@ art->followUpTo()->from7BitString(a->followUpTo()->as7BitString(false)); //References - art->references()->from7BitString(a->references()->as7BitString(false)); + if ( !a->references()->isEmpty() ) + art->references()->from7BitString( a->references()->as7BitString(false) ); //Supersedes art->supersedes()->from7BitString(a->messageID()->as7BitString(false));
P
latform
:
Mandrake RPMs
O
S
:
Linux
K
eywords
:
People
Reporter
:
Unknown
Assigned To
:
KNode Developers
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In