Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imapsync webserver and Debian 12 #432

Open
CyberCr33p opened this issue Dec 21, 2023 · 1 comment
Open

Imapsync webserver and Debian 12 #432

CyberCr33p opened this issue Dec 21, 2023 · 1 comment
Assignees

Comments

@CyberCr33p
Copy link

CyberCr33p commented Dec 21, 2023

I encountered a problem with webserver after upgrading from Debian 10 to Debian 12, where a "Content-type: text/html" message unexpectedly appeared in the top left corner of the webpage.

This issue persisted even with a clean installation of Debian 12 but was not present in Debian 10.

The problem was resolved by removing the line $self->send_status( '200', 'OK' ) ; from the webserver file.

imapsync

@gilleslamiral
Copy link
Member

I think I encountered the same issue some time ago when I worked again on the script webserver.
I fixed the issue and made it usable in the imapsync Docker image
I renamed it from webserver to servimapsync

https://imapsync.lamiral.info/servimapsync

gilles@petite:~/public_html/imapsync 8$ rlog X/servimapsync

RCS file: X/RCS/servimapsync,v
Working file: X/servimapsync
head: 1.16
branch:
locks: strict
        gilles: 1.16
access list:
symbolic names:
keyword substitution: kv
total revisions: 16;    selected revisions: 16
description:
----------------------------
revision 1.16   locked by: gilles;
date: 2023/12/14 00:13:56;  author: gilles;  state: Exp;  lines: +6 -12
Back to exec_cgi(), exec_trusted_perl() does not work in https but with curl and "curl: (56) GnuTLS recv error (-24): Decryption has failed."
----------------------------
revision 1.15
date: 2023/12/13 12:28:19;  author: gilles;  state: Exp;  lines: +4 -4
Use exec_trusted_perl() instead of exec_cgi(). Better output flush
----------------------------
revision 1.14
date: 2023/12/12 16:06:56;  author: gilles;  state: Exp;  lines: +6 -4
Timeout 1 hour instead of 1 minute
----------------------------
revision 1.13
date: 2023/12/12 14:16:19;  author: gilles;  state: Exp;  lines: +4 -10
One print of Net::Server::VERSION
----------------------------
revision 1.12
date: 2023/11/21 10:28:26;  author: gilles;  state: Exp;  lines: +1 -1
Changed file name webserver -> servimapsync
----------------------------
revision 1.11
date: 2023/11/21 10:26:43;  author: gilles;  state: Exp;  lines: +10 -10
All files must be in the current directory. It is simpler do deploy and use.
----------------------------
revision 1.10
date: 2023/11/20 17:11:16;  author: gilles;  state: Exp;  lines: +30 -7
Now works in https also.
----------------------------
revision 1.9
date: 2023/11/14 14:34:52;  author: gilles;  state: Exp;  lines: +22 -11
Bugfix. Compatible with Net::Server::HTTP/2.008 and Net::Server::HTTP/2.013
----------------------------
revision 1.8
date: 2023/11/13 13:05:03;  author: gilles;  state: Exp;  lines: +1 -1
Changed file name webserver -> webserver
----------------------------
revision 1.7
date: 2023/11/13 13:04:05;  author: gilles;  state: Exp;  lines: +2 -1
ipv4 only. Docker bug
----------------------------
revision 1.6
date: 2019/11/28 14:45:09;  author: gilles;  state: Exp;  lines: +6 -1
Added ./X/vnstati.html
----------------------------
revision 1.5
date: 2019/11/25 22:39:23;  author: gilles;  state: Exp;  lines: +37 -8
Working under Linux. Abort ok.
----------------------------
revision 1.4
date: 2019/09/10 13:44:49;  author: gilles;  state: Exp;  lines: +122 -101
Not bad. Lacks /vnstat/vnstat_vs.png
----------------------------
revision 1.3
date: 2019/09/10 08:18:20;  author: gilles;  state: Exp;  lines: +7 -1
Added "Not found!" for unknown requests.
----------------------------
revision 1.2
date: 2019/09/09 22:00:48;  author: gilles;  state: Exp;  lines: +1 -1
*** empty log message ***
----------------------------
revision 1.1
date: 2019/09/09 21:53:28;  author: gilles;  state: Exp;
Initial revision
=============================================================================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants