SYNCHRONET--------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 14 из 100
 От   : Digital Man                         1:103/705         14 ноя 25 12:03:12
 К    : Carlos Navarro                                        14 ноя 25 23:16:01
 Тема : NNTP and To: field
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 55289.sync@1:103/705 2d7d98f9
@REPLY: 2:341/234.1 691610b5
@TZUTC: -0800
@PID: Synchronet 3.21a-Linux master/d39e01091 Nov 03
2025 GCC 12.2.0
@TID: SBBSecho 3.31-Linux master/d39e01091 Nov 03
2025 GCC 12.2.0
@COLS: 80
@BBSID: VERT
@CHRS: CP437 2
@FORMAT: flowed
@NOTE: FSEditor.js v1.105
  Re: NNTP and To: field
  By: Carlos Navarro to Digital Man on Thu Nov 13 2025 06:08 pm

 > 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(/<[^\\<]*>$/);

Thank you!

 Looks like a bug introduced in
https://gitlab.synchro.net/main/sbbs/-/commit/9bf86ab10c206945417c45d98f09

I`ll fix that right up and appreciate your testing and detailed feedback!
-- 
                                            digital man (rob)

Steven Wright quote #10:
The early bird may get the worm, but the second mouse gets the cheese.
Norco, CA WX: 59.8°F, 90.0% humidity, 0 mph WNW wind, 0.09 inches rain/24hrs
--- SBBSecho 3.31-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 50/109 103/705 154/10 218/700 221/1
240/1120 280/464 301/1 113
SEEN-BY: 341/66 463/68 712/848 5000/111 5001/100
5020/101 715 848 1042 4441
SEEN-BY: 5020/12000 5030/49 1081 5060/900 5061/133
5075/128
@PATH: 103/705 301/1 5020/1042 4441



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

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