summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process
diff options
context:
space:
mode:
authordangofactory (ketsuban) <ketsuban@dangofactory.net>2026-10-03 16:51:22 +0900
committerdangofactory (ketsuban) <ketsuban@dangofactory.net>2026-10-03 16:51:22 +0900
commit45f9d656e508f1d257a18d041fb4d4f8fa6b58ca (patch)
treeeb0a8846ae86aafae07b3ce361d57a29a7493e46 /fml/lib/FML/Process
parent7828b6e6c9ec0d1aa9273d7902eb9263135bae24 (diff)
downloadfml8-45f9d656e508f1d257a18d041fb4d4f8fa6b58ca.tar.gz
fml8-45f9d656e508f1d257a18d041fb4d4f8fa6b58ca.tar.bz2
fml8-45f9d656e508f1d257a18d041fb4d4f8fa6b58ca.zip
CGI kernel: pin the CGI charset to euc-jp instead of the negotiated one
Applied to the installed tree at /usr/local/lib/fml/current-20260601 (the fml_version in /usr/local/etc/fml/main.cf), which is what the dev-list@dangofactory.net mailing list actually loads. Upstream file: fml/lib/FML/Process/CGI/Kernel.pm Host copy: /usr/local/lib/fml/current-20260601/FML/Process/CGI/Kernel.pm
Diffstat (limited to 'fml/lib/FML/Process')
-rw-r--r--fml/lib/FML/Process/CGI/Kernel.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/fml/lib/FML/Process/CGI/Kernel.pm b/fml/lib/FML/Process/CGI/Kernel.pm
index a4891fe0..4f8f938b 100644
--- a/fml/lib/FML/Process/CGI/Kernel.pm
+++ b/fml/lib/FML/Process/CGI/Kernel.pm
@@ -103,8 +103,8 @@ sub prepare
$curproc->_set_charset();
my $charset = $curproc->langinfo_get_charset("cgi"); # updated charset.
- print header(-type => "text/html; charset=$charset",
- -charset => $charset,
+ print header(-type => "text/html; charset=euc-jp",
+ -charset => "euc-jp",
-target => "_top");
# generate and save the session string and identifier.