SYNCHRONET--------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 10 из 100
 От   : Carlos Navarro                      2:341/234.1       13 ноя 25 18:08:55
 К    : Digital Man                                           13 ноя 25 20:59:01
 Тема : NNTP and To: field
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 2:341/234.1 691610b5
@REPLY: 55283.sync@1:103/705 2d7b94dd
@TID: FMail-W64 2.3.2.3-B20240423
@TZUTC: 0100
@CHRS: UTF-8 4
12 Nov 2025 23:21, you wrote to me:

 > I just wrote and executed a quick test and the msg header reply_id
 > property does appear to be a string, as expected:

 > var msgbase = new MsgBase("test");
 > if(!msgbase.open())
 >         exit();
 > var hdr = msgbase.get_msg_header(27);
 > print(typeof hdr.reply_id);

 > when run, prints `string`.

 Ok, in that script nothing happens to hdr after loading from the
MSGbase. But in nntpservice.js, before being passed to function getReferenceTo,
it is processed by function parse_news_header (in newsutil.js). It seems
hdr.reply_id is then an array of string (typeof "object"). I think it happens
here:

 hdr.reply_id = data.match(/<[^\\<]*>$/);

Carlos

--- GoldED+/W32-MSVC 1.1.5-b20180707
 * Origin: cyberiada (2:341/234.1)
SEEN-BY: 50/109 103/705 124/5016 153/757 154/10 30
203/0 221/0 1 6 240/1120
SEEN-BY: 240/5832 263/1 280/464 5003 5006 292/8125
301/1 113 310/31 341/66
SEEN-BY: 341/234 396/45 423/120 460/58 463/68
633/280 712/848 770/1 5000/111
SEEN-BY: 5001/100 5020/101 400 715 848 1042 4441
12000 5030/49 1081 5060/900
SEEN-BY: 5061/133 5075/128
@PATH: 341/234 280/464 301/1 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх