]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
Add a header with the page encoding before sending any page (header added in config...
authorkkalev <kkalev>
Sun, 2 Jan 2005 14:09:57 +0000 (14:09 +0000)
committerkkalev <kkalev>
Sun, 2 Jan 2005 14:09:57 +0000 (14:09 +0000)
This closes Bug #153

Changelog
conf/config.php3

index 1a69c139fe906f4494d4a1fe4df96d3eea1d90d6..e969f81d45a3511fb9da83af3c14e41c1ac46b9d 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -6,6 +6,8 @@ Ver 1.78:
 * In bin/snmpfinger also accept @,. in the username
 * If we are stripping realms, then if needed strip them from the data returned by snmpfinger in
   user_finger.php3
+* Add a header with the page encoding before sending any page (header added in config.php3)
+  This closes Bug #153
 Ver 1.75:
 * A LOT of security related fixes. Now dialupadmin should hopefully be secure enough to
   be accessed by normal users (not administrators).
index 2b0a2c817489e501023c192e4d1f9bc26fa1cc46..312f7db2cee99f53c2c2a5116a64fcd8a2056708 100644 (file)
@@ -110,4 +110,5 @@ if (!isset($mappings) && $config[general_username_mappings_file] != ''){
 //Include missing.php3 if needed
 if (!function_exists('array_change_key_case'))
        include_once('../lib/missing.php3');
+@header('Content-type: text/html; charset='.$config[general_charset].';');
 ?>