mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Found another occation of possible invalid encoding
SVN revision: 2235
This commit is contained in:
parent
213e1a65b6
commit
27bbe4fa1e
@ -9205,6 +9205,9 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
||||
|
||||
/* get encoding */
|
||||
strlcpy(encoding, isparam("encoding") ? getparam("encoding") : "", sizeof(encoding));
|
||||
if (!strieq(encoding, "plain") && !strieq(encoding, "ELCode") &&
|
||||
!strieq(encoding, "HTML"))
|
||||
strcpy(encoding, "plain");
|
||||
} else {
|
||||
if (message_id) {
|
||||
/* get message for reply/edit */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user