Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   duplicated/extra newlines (LF) after submit with Safari (since 15.4), posted by Andrey on Tue May 10 09:31:40 2022 
    icon2.gif   reproduced on the latest newly compiled Elogd, posted by Andrey on Tue May 10 10:58:12 2022 
Message ID: 69528     Entry time: Tue May 10 09:31:40 2022     Reply to this: 69529   69530
Icon: Question  Author: Andrey  Author Email: `kowaraj4stuff@gmail.com 
Category: Bug report  OS: Mac OSX  ELOG Version: ELOG V3.1.4-493 
Subject: duplicated/extra newlines (LF) after submit with Safari (since 15.4) 
I think this is a bug report. 
However, I am not sure whether the problem is in the new version of Apple's WebKit (15.4) or in the ELOG itself.

When we edit an ELOG record with Safari (as of version 15.4, new WebKit features added) the number of "newline" symbols (actually LF, 0xA) are doubled.

So, for instance, if I edit the following page (1 LF symbol between "aaa" and "bbb"):
```
aaa
bbb
```

then after a "Submit" (without actually any changes) the record becomes (2 LF symbols):

```
aaa

bbb
```

then after a "Submit" (without actually any changes) the record becomes (4 LF symbols in between):
```
aaa



bbb
```

NOTE: The LF symbol at the end (after the "bbb" line) does NOT get duplicated (it gets truncated, I believe).


Our current ELOG version is "ELOG V3.1.4-4936b76".
Could you please have a look? 
ELOG V3.1.4-bcd7b50