Two perl errors in new 7.3 version

SYSTEM INFORMATION
OS type and version Rocky Linux 8.6
Webmin version 2.001
Virtualmin version 7.3
Related packages perl 5.26.3-421.el8
  1. Error on “Website Redirects”
**500 -**
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^(http|https)://%{ <-- HERE HTTP_HOST}(/.*)$/ at /usr/libexec/webmin/virtual-server/list_redirects.cgi line 20.
  1. Error on “Suggested DNS Records”
HTTP/1.0 500 Perl execution failed Server: MiniServ/2.001 Date: Tue, 1 Nov 2022 13:41:16 GMT Content-type: text/html; Charset=utf-8 Connection: close

## Error — Perl execution failed

Can't use string ("/tmp/.webmin/101983_566519_1_vie"...) as an ARRAY ref while "strict refs" in use at /usr/libexec/webmin/bind8/records-lib.pl line 495.

Hello,

SYSTEM INFORMATION
OS type and version Debian 11
Webmin version 2.001
Virtualmin version 7.3-1
Related packages perl 5.032001

I have exactly the same problem !

Hello,

Thanks for the heads up.

@Jamie, check this patch out, as this is a bug:

If you edit /etc/webmin/config file and add to it error_stack=1, and re-visit Suggested DNS Records page, what output do you get?

I get exactly the same output.

HTTP/1.0 500 Perl execution failed Server: MiniServ/2.001 Date: Wed, 2 Nov 2022 12:51:33 GMT Content-type: text/html; Charset=utf-8 Connection: close
Error — Perl execution failed

Can't use string ("/tmp/.webmin/656374_750969_1_vie"...) as an ARRAY ref while "strict refs" in use at /usr/libexec/webmin/bind8/records-lib.pl line 495.

Nothing else.

Thanks Ilia for that patch!

The fix for the second issue is Fix display of autoconfig DNS records on suggested page · virtualmin/virtualmin-gpl@5dc1d8a · GitHub

I have a Debian 9 machine… have been waiting for a couple months for all these “bug reports” to calm down before I do the “Virtualmin export, Debian 11 import”… so I guess I’ll wait a bit longer… : )