Author: Jim Winstead (jimwins) Committer: GitHub (web-flow) Pusher: Girgias Date: 2024-07-18T20:08:38+01:00
Commit: https://github.com/php/web-news/commit/878cf71f85c796f4464786bd7272a7302b6179f7 Raw diff: https://github.com/php/web-news/commit/878cf71f85c796f4464786bd7272a7302b6179f7.diff Show the correct NNTP hostname, which may not be the HTTP host (#19) Changed paths: M index.php Diff: diff --git a/index.php b/index.php index 6a67768..324a191 100644 --- a/index.php +++ b/index.php @@ -30,8 +30,8 @@ <h1>PHP Mailing Lists</h1> <p> This is a completely experimental interface to the PHP mailing lists as - reflected on the <a href="news://<?php echo htmlspecialchars($_SERVER['HTTP_HOST'],ENT_QUOTES,"UTF-8"); ?>/"> - <?php echo htmlspecialchars($_SERVER['HTTP_HOST'], ENT_QUOTES, "UTF-8"); ?> NNTP server</a>. + reflected on the <a href="news://<?php echo htmlspecialchars(NNTP_HOST,ENT_QUOTES,"UTF-8"); ?>/"> + <?php echo htmlspecialchars(NNTP_HOST, ENT_QUOTES, "UTF-8"); ?> NNTP server</a>. The news server software that is used is <a href="https://trainedmonkey.com/projects/colobus/">colobus</a>. </p>