Article View: news.software.readers
Article #217175Re: [Dialog] I need two X-No-Archive Headers
From: Sqwertz
Date: Fri, 22 Feb 2008 20:40
Date: Fri, 22 Feb 2008 20:40
26 lines
2450 bytes
2450 bytes
On Fri, 22 Feb 2008 15:11:31 -0500, Oliver Cromm wrote: > * Gember Breuk wrote: > >> Here is the script that makes it work: > > Attention! I don't believe this works correctly. > > From my understanding, it *overwrites* the header following User-Agent > (the "anchor") instead of inserting something, and may even drop > anything after that. In my test, it actually seemed to delete more than > one header. > > Test well before deploying it in earnest. I may try to improve it > myself. After looking at it, it does seem like a problem. This would explain why one of my headers is disappearing as well. The array elements following the matched header in message.strings[] all need to be incremented by 1 before you insert the new header. I'll take as stab as fixing that part (except I don't now how to determine the highest element - would it just be indicated by message.strings[]= ''? -sw
Technical Details
Message-ID:
<k0zdj64r9shm.dlg@sqwertz.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!newssvr23.news.prodigy.net.POSTED!666d6152!not-for-mailReferences:
<40lhz7pt2tqo.dlg@sqwertz.com> <1td7qgn0qa5kx$.dlg@blackholespam.net> <1l5i97dcyjakx$.dlg@sqwertz.com> <1cfxfs0ud4v2i.dlg@blackholespam.net> <1cq6okvpxxuxn$.dlg@mid.crommatograph.info>Show Full Headers
Complete Article Headers
Message-ID: <k0zdj64r9shm.dlg@sqwertz.com> Subject: Re: [Dialog] I need two X-No-Archive Headers Date: Fri, 22 Feb 2008 14:40:16 -0600 From: Sqwertz <swertz@cluemail.compost> References: <40lhz7pt2tqo.dlg@sqwertz.com> <1td7qgn0qa5kx$.dlg@blackholespam.net> <1l5i97dcyjakx$.dlg@sqwertz.com> <1cfxfs0ud4v2i.dlg@blackholespam.net> <1cq6okvpxxuxn$.dlg@mid.crommatograph.info> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!newssvr23.news.prodigy.net.POSTED!666d6152!not-for-mail Newsgroups: news.software.readers Content-Transfer-Encoding: 7bit X-No-Archive: banter X-WebTV-Stationery: Standard; BGColor=red; Background="http://i26.tinypic.com/25polj9.gif"; TextColor=red Lines: 26 NNTP-Posting-Host: 75.55.119.163 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr23.news.prodigy.net 1203712846 ST000 75.55.119.163 (Fri, NNTP-Posting-Date: Fri, 22 Feb 2008 15:40:46 EST Organization: AT&T http://yahoo.sbc.com X-UserInfo1: OP]QSUSEGBSGCFD[LZKJOPHAWB\^PBQLGPQRZ_MHEQR@ETUCCNSKQFCY@TXDX_WHSVB]ZEJLSNY\^J[CUVSA_QLFC^RQHUPH[P[NRWCCMLSNPOD_ESALHUK@TDFUZHBLJ\XGKL^NXA\EVHSP[D_C^B_^JCX^W]CHBAX]POG@SSAZQ\LE[DCNMUPG_VSC@VJM