fix 301 and 302 not redirecting in http(s) proxy

- also add experimental beta mail signature preview option
This commit is contained in:
zefie
2022-10-13 23:54:39 -04:00
parent 0ff03f050d
commit 9bea13151c
3 changed files with 16 additions and 3 deletions

View File

@@ -99,13 +99,18 @@ font=proportional>${session_data.getSessionData("subscriber_signature") || ""}</
<tr>
<TD>
<td colspan=3 height=2 valign=top align=left bgcolor="0D0D0D">
${(request_headers.query.preview) ? `<b>Signature Preview:</b><br><br><embed src="wtv-mail:/get-signature?sanitize=true&demotext=${encodeURIComponent(`This is a preview of your signature. You can <a href="wtv-setup:/mail-signature">edit it here</a>.`)}" height=40></embed><br><br>` : ''}
<img src="wtv-home:/ROMCache/Spacer.gif" width=436 height=1>
<TR>
<TD>
<TD COLSPAN=4 HEIGHT=4 VALIGN=top ALIGN=left>
<TR>
<TD VALIGN=top ALIGN=left>
<FORM action="mail-signature">
<FONT COLOR="#E7CE4A" SIZE=-1><SHADOW>
<INPUT TYPE=SUBMIT BORDERIMAGE="file://ROM/Borders/ButtonBorder2.bif" Value=Preview NAME="preview" USESTYLE WIDTH=103>
</SHADOW></FONT></FORM>
<TD>
<TD COLSPAN=3 VALIGN=top ALIGN=right>
<TD VALIGN=top ALIGN=right>
<FORM action="client:goback">
<FONT COLOR="#E7CE4A" SIZE=-1><SHADOW>
<INPUT TYPE=SUBMIT BORDERIMAGE="file://ROM/Borders/ButtonBorder2.bif" Value=Done NAME="Done" USESTYLE WIDTH=103>