Bug 37642: Generated letter should use https in header

_wrap_html returns a header referring to http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd and http://www.w3.org/1999/xhtml. These should be https links.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Baptiste Wojtkowski 2024-08-14 10:55:16 +02:00 committed by Katrin Fischer
parent 765c724f98
commit e27c3a6090
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -1579,8 +1579,8 @@ sub _wrap_html {
$css = qq{<link rel="stylesheet" type="text/css" href="$css">} if $css; $css = qq{<link rel="stylesheet" type="text/css" href="$css">} if $css;
return <<EOS; return <<EOS;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <html lang="en" xml:lang="en" xmlns="https://www.w3.org/1999/xhtml">
<head> <head>
<title>$title</title> <title>$title</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />