Rushfan
Rushfan
This has been merged, old style eprogs.net support exists.
This is in 5.8
Not going to do this, it's been this way for 30y already, no need to move it.
Fixed in https://github.com/wwivbbs/wwiv/commit/1ccb243c25bd1a8bf7cc8a0532dcd1120ef05341
better fix is to use to_char_array_trim for all cases in this file, since a string too long is not a programming error.
Also wwivutil print does this too. ``` $ cat x/x.msg | the world | $ wwivutil print x/x.msg |the world ```
This test seems to work, need to dig more: ``` TEST_F(AnsiTest, HeartAndPipe_TrailingPipe) { write_hp("| world |\r\n"); check({ "| world |" }); } ```
This fails though: ``` TEST_F(AnsiTest, HeartAndPipe_TrailingPipe) { write_hp("| world |"); check({ "| world |" }); } ```
where's the trailing pipe character there? Sorry, don't understand what was typed vs. expected here.
Looks like support for sending these files is implemented in handle_sub_add_req in network2/subs.cpp