summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHello TMW <hello@themanaworld.org>2024-09-17 14:25:28 +0000
committerLed Mitz <smoothshifter@tuta.io>2024-09-17 14:25:28 +0000
commitd6acc51bdca27720078fc751f20ac0a10d4d1c26 (patch)
tree127b5b0e9db53eb5e00fc6724dd22f8697e9d32c
parent48ee77e4fdfc3741996df0ddaca49c090292fc10 (diff)
downloadtmwa-d6acc51bdca27720078fc751f20ac0a10d4d1c26.tar.gz
tmwa-d6acc51bdca27720078fc751f20ac0a10d4d1c26.tar.bz2
tmwa-d6acc51bdca27720078fc751f20ac0a10d4d1c26.tar.xz
tmwa-d6acc51bdca27720078fc751f20ac0a10d4d1c26.zip
This fixes <META http-equiv="Refresh" ... /> placement.
This tag should reside within <head> tag. Placing it before head seems to de-facto work, but technically appears to be bug. Reported-by: lilly ****
-rw-r--r--src/char/char.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.cpp b/src/char/char.cpp
index 7ffdd0f..2194ef2 100644
--- a/src/char/char.cpp
+++ b/src/char/char.cpp
@@ -777,8 +777,8 @@ void create_online_files(void)
stamp_time(timetemp);
// write heading
FPRINTF(fp2, "<HTML>\n"_fmt);
- FPRINTF(fp2, " <META http-equiv=\"Refresh\" content=\"%d\">\n"_fmt, char_conf.online_refresh_html); // update on client explorer every x seconds
FPRINTF(fp2, " <HEAD>\n"_fmt);
+ FPRINTF(fp2, " <META http-equiv=\"refresh\" content=\"%d\">\n"_fmt, char_conf.online_refresh_html); // update on client explorer every x seconds
FPRINTF(fp2, " <TITLE>Online Players on %s</TITLE>\n"_fmt,
char_conf.server_name);
FPRINTF(fp2, " </HEAD>\n"_fmt);