mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fix page encoding leading to javascript errors
This commit is contained in:
parent
e624e585e3
commit
567316827f
2 changed files with 1 additions and 3 deletions
|
|
@ -6,8 +6,7 @@ dirs = ntop.getDirs()
|
|||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
require "lua_utils"
|
||||
|
||||
--[[ Note: keep the old iso-8859-1 encoding to avoid breaking existing passwords ]]
|
||||
sendHTTPContentTypeHeader('text/html', nil, 'iso-8859-1')
|
||||
sendHTTPContentTypeHeader('text/html')
|
||||
|
||||
if(haveAdminPrivileges()) then
|
||||
interface.select(ifname)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue