mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 17:15:57 +00:00
fix encoding for pref-feeds/add when called as a HTML page (closes #423)
This commit is contained in:
@@ -992,11 +992,12 @@ class Pref_Feeds extends Protected_Handler {
|
|||||||
$auth_pass = db_escape_string(trim($_POST["auth_pass"]));
|
$auth_pass = db_escape_string(trim($_POST["auth_pass"]));
|
||||||
|
|
||||||
if ($p_from != 'tt-rss') {
|
if ($p_from != 'tt-rss') {
|
||||||
header("Content-Type: text/html");
|
header('Content-Type: text/html; charset=utf-8');
|
||||||
print "<html>
|
print "<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Tiny Tiny RSS</title>
|
<title>Tiny Tiny RSS</title>
|
||||||
<link rel=\"stylesheet\" type=\"text/css\" href=\"utility.css\">
|
<link rel=\"stylesheet\" type=\"text/css\" href=\"utility.css\">
|
||||||
|
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img class=\"floatingLogo\" src=\"images/ttrss_logo.png\"
|
<img class=\"floatingLogo\" src=\"images/ttrss_logo.png\"
|
||||||
|
|||||||
Reference in New Issue
Block a user