diff --git a/src/elogd.c b/src/elogd.c index 843a005e..4082dead 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -10490,7 +10490,6 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL /*---- add password in case cookie expires during edit ----*/ if (getcfg(lbs->name, "Password file", str, sizeof(str)) && isparam("unm")) { - /* XSS fix: Jason Gochanour */ strencode2(str, getparam("unm"), sizeof(str)); rsprintf("\n", str); if (isparam("upwd")) @@ -10580,7 +10579,6 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL rsprintf("%s:", loc("Entry time")); rsprintf("%s\n", str); - /* XSS fix: Jason Gochanour */ strencode2(str, date, sizeof(str)); rsprintf("\n", str); } @@ -11844,7 +11842,6 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL thumb_ref[0] = 0; if (strlen(att[index]) < 14 || att[index][6] != '_' || att[index][13] != '_') { - /* XSS fix: Jason Gochanour */ strencode2(str, att[index], sizeof(str)); rsprintf("Error: Invalid attachment \"%s\"
", str); } else { @@ -11896,7 +11893,6 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL rsprintf("  \n"); /* ImageMagick available, so get image size */ - /* XSS fix: Jason Gochanour */ strencode2(str, att[index], sizeof(str)); rsprintf("%s \n", str + 14); if (chkext(file_name, ".pdf") || chkext(file_name, ".ps")) @@ -12015,7 +12011,6 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL rsprintf("\n"); } - /* XSS fix: Jason Gochanour */ strencode2(str, att[index], sizeof(str)); if (thumb_ref[0]) rsprintf("\n", index, thumb_ref, str); @@ -13750,7 +13745,6 @@ void show_config_page(LOGBOOK * lbs) rsprintf("