diff options
author | alee <alee@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2009-01-30 19:37:45 +0000 |
---|---|---|
committer | alee <alee@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2009-01-30 19:37:45 +0000 |
commit | bff77c5be4bae7ed4a67b85e06d1890f551d5eb4 (patch) | |
tree | ef739f8fff20674a91efc47d1a72be03649ba346 | |
parent | 87caef2f46dc9819276f44788dd092b6f3fce75f (diff) | |
download | pki-bff77c5be4bae7ed4a67b85e06d1890f551d5eb4.tar.gz pki-bff77c5be4bae7ed4a67b85e06d1890f551d5eb4.tar.xz pki-bff77c5be4bae7ed4a67b85e06d1890f551d5eb4.zip |
Bugzilla 460582: add UTF support
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@204 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
39 files changed, 61 insertions, 32 deletions
diff --git a/pki/base/common/src/com/netscape/cms/servlet/base/CMSServlet.java b/pki/base/common/src/com/netscape/cms/servlet/base/CMSServlet.java index 0ef2ee5d2..72c441b5b 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/base/CMSServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/base/CMSServlet.java @@ -433,6 +433,8 @@ public abstract class CMSServlet extends HttpServlet { } catch (Exception e) { } + httpReq.setCharacterEncoding("UTF-8"); + if (CMS.debugOn()) { outputHttpParameters(httpReq); } diff --git a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileServlet.java b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileServlet.java index ca1d1b088..ff4c8d7bf 100644 --- a/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileServlet.java +++ b/pki/base/common/src/com/netscape/cms/servlet/profile/ProfileServlet.java @@ -254,7 +254,7 @@ public class ProfileServlet extends CMSServlet { reader = new BufferedReader( new FileReader(mTemplate)); - response.setContentType("text/html"); + response.setContentType("text/html; charset=UTF-8"); PrintWriter writer = response.getWriter(); diff --git a/pki/dogtag/ca-ui/dogtag-pki-ca-ui.spec b/pki/dogtag/ca-ui/dogtag-pki-ca-ui.spec index 670eab7aa..5b74b878c 100644 --- a/pki/dogtag/ca-ui/dogtag-pki-ca-ui.spec +++ b/pki/dogtag/ca-ui/dogtag-pki-ca-ui.spec @@ -34,7 +34,7 @@ ## Package Header Definitions %define base_name %{base_ui_prefix}-%{base_prefix}-%{base_component} %define base_version 1.0.0 -%define base_release 8 +%define base_release 9 %define base_group System Environment/Base %define base_vendor Red Hat, Inc. %define base_license GPLv2 with exceptions @@ -222,6 +222,8 @@ rm -rf ${RPM_BUILD_ROOT} ############################################################################### %changelog +* Fri Jan 30 2009 Ade Lee <alee@redhat.com> 1.0.0-9 +- Bugzilla Bug #460582 - add UTF-8 support * Wed Jan 28 2009 Christina Fu <cfu@redhat.com> 1.0.0-8 - Bugzilla Bug #482733 - make outputXML available via profiles; add request id in response for deferred * Fri Nov 28 2008 Matthew Harmsen <mharmsen@redhat.com> 1.0.0-7 diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/admin/ca/adminEnroll.html b/pki/dogtag/ca-ui/shared/webapps/ca/admin/ca/adminEnroll.html index e05df63de..43c4379c5 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/admin/ca/adminEnroll.html +++ b/pki/dogtag/ca-ui/shared/webapps/ca/admin/ca/adminEnroll.html @@ -19,7 +19,7 @@ <html> <head> <TITLE>Admin Enrollment form.</TITLE> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <SCRIPT LANGUAGE="JavaScript"></SCRIPT> <script LANGUAGE="JavaScript" SRC="/ca/agent/cms-funcs.js"></script> <SCRIPT LANGUAGE="JavaScript" SRC="/ca/agent/helpfun.js"></SCRIPT> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/SrchCert.html b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/SrchCert.html index dce52d1a8..106eeccb6 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/SrchCert.html +++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/SrchCert.html @@ -19,7 +19,7 @@ <html> <head> <title>Search for Certificates</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" SRC="/ca/agent/funcs.js"></script> <script type="text/javascript" SRC="/ca/agent/helpfun.js"></script> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/SrchRevokeCert.html b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/SrchRevokeCert.html index b504dc6c9..ac3bf0d59 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/SrchRevokeCert.html +++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/SrchRevokeCert.html @@ -19,7 +19,7 @@ <html> <head> <title>Revoke Certificates</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" SRC="/ca/agent/funcs.js"></script> <script type="text/javascript" SRC="/ca/agent/helpfun.js"></script> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/displayBySerial.template b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/displayBySerial.template index 0c1b47aaf..d6f0e49e1 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/displayBySerial.template +++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/displayBySerial.template @@ -19,7 +19,7 @@ <html> <head> <title>Display Certificate</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <CMS_TEMPLATE> </head> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/displayBySerial2.template b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/displayBySerial2.template index 9d45596a1..5c700da66 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/displayBySerial2.template +++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/displayBySerial2.template @@ -19,7 +19,7 @@ <html> <head> <title>Display Certificate</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <CMS_TEMPLATE> </head> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/displayCRL.template b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/displayCRL.template index 9375364b3..20180af45 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/displayCRL.template +++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/displayCRL.template @@ -19,7 +19,7 @@ <html> <head> <title>Display CRL</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <SCRIPT type="text/javascript" SRC="/helpfun.js"></SCRIPT> <SCRIPT type="text/javascript"> <!-- diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/queryCert.html b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/queryCert.html index 951cd5f0b..a24a56df8 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/queryCert.html +++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/queryCert.html @@ -19,7 +19,7 @@ <html> <head> <title>Search for Certificates</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" SRC="/ca/agent/funcs.js"></script> <script type="text/javascript" SRC="/ca/agent/helpfun.js"></script> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/queryCert.template b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/queryCert.template index 41bd02344..fb0f677fa 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/queryCert.template +++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/queryCert.template @@ -19,7 +19,7 @@ <html> <head> <title>Query Certificate</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css"> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/queryReq.template b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/queryReq.template index be0819d9c..1bee88abe 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/queryReq.template +++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/queryReq.template @@ -19,7 +19,7 @@ <html> <head> <title>Request Queue</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css"> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/revokeCert.html b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/revokeCert.html index 45fb2f935..1c89c21cd 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/revokeCert.html +++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/revokeCert.html @@ -19,7 +19,7 @@ <html> <head> <title>Revoke Certificates</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" SRC="/ca/agent/funcs.js"></script> <script type="text/javascript" SRC="/ca/agent/helpfun.js"></script> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/srchCert.template b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/srchCert.template index 1e53900f5..1a33355c7 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/srchCert.template +++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ca/srchCert.template @@ -19,7 +19,7 @@ <html> <head> <title>Untitled Document</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body bgcolor="#FFFFFF" link="#000000" vlink="#000000" alink="#000000"> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/header.template b/pki/dogtag/ca-ui/shared/webapps/ca/agent/header.template index 81d9bed51..e9b54739e 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/header.template +++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/header.template @@ -20,7 +20,7 @@ <head> <CMS_TEMPLATE> <title>Header</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body bgcolor="#CCCCCC" link="#FFFFFF" vlink="#FFFFFF" alink="#CCCCFF"> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/index.template b/pki/dogtag/ca-ui/shared/webapps/ca/agent/index.template index 6716d414d..73abb8ae7 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/index.template +++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/index.template @@ -20,7 +20,7 @@ <head> <CMS_TEMPLATE> <title>Index</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ports.template b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ports.template index b8728eadc..d34cde630 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/agent/ports.template +++ b/pki/dogtag/ca-ui/shared/webapps/ca/agent/ports.template @@ -20,7 +20,7 @@ <head> <CMS_TEMPLATE> <title>Index</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/displayBySerial.template b/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/displayBySerial.template index f2f42066b..ca886b4cf 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/displayBySerial.template +++ b/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/displayBySerial.template @@ -19,7 +19,7 @@ <html> <head> <title>Display Certificate</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <CMS_TEMPLATE> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/displayBySerial2.template b/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/displayBySerial2.template index 79076779a..909cf8030 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/displayBySerial2.template +++ b/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/displayBySerial2.template @@ -19,7 +19,7 @@ <html> <head> <title>Display Certificate</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <CMS_TEMPLATE> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/policyEnrollment/index.html b/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/policyEnrollment/index.html index 021ace372..861281ffa 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/policyEnrollment/index.html +++ b/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/policyEnrollment/index.html @@ -18,7 +18,7 @@ <html> <head> <title>Certificate Management System</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <SCRIPT LANGUAGE="JavaScript"></SCRIPT> <script lang="javascript" src="/dynamicVars.js"></script> <script lang="javascript" src="/cms-funcs.js"></script> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/queryCert.template b/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/queryCert.template index c91a0bcf3..5bcc37aed 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/queryCert.template +++ b/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/queryCert.template @@ -19,7 +19,7 @@ <html> <head> <title>Untitled Document</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css"> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/requestStatus.template b/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/requestStatus.template index 2ca773f53..3279f6fde 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/requestStatus.template +++ b/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/requestStatus.template @@ -19,7 +19,7 @@ <html> <head> <title>Request Status</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <SCRIPT LANGUAGE="JavaScript"></SCRIPT> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/srchCert.html b/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/srchCert.html index 80b46cce2..93543b9e5 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/srchCert.html +++ b/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/srchCert.html @@ -19,7 +19,7 @@ <html> <head> <title>Search for Certificates</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <SCRIPT LANGUAGE="JavaScript"></SCRIPT> <script LANGUAGE="JavaScript" SRC="/ca/ee/cms-funcs.js"></script> diff --git a/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/srchCert.template b/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/srchCert.template index ad329b98a..a7e3f6522 100644 --- a/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/srchCert.template +++ b/pki/dogtag/ca-ui/shared/webapps/ca/ee/ca/srchCert.template @@ -19,7 +19,7 @@ <html> <head> <title>Untitled Document</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css"> diff --git a/pki/dogtag/common/pki-common.spec b/pki/dogtag/common/pki-common.spec index b33d65fb3..5f3fc8bb6 100644 --- a/pki/dogtag/common/pki-common.spec +++ b/pki/dogtag/common/pki-common.spec @@ -34,7 +34,7 @@ ## Package Header Definitions %define base_name %{base_prefix}-%{base_component} %define base_version 1.0.0 -%define base_release 34 +%define base_release 35 %define base_group System Environment/Base %define base_vendor Red Hat, Inc. %define base_license GPLv2 with exceptions @@ -280,6 +280,8 @@ chmod 00755 %{_datadir}/%{base_prefix}/setup/postinstall ############################################################################### %changelog +* Fri Jan 30 2009 Ade Lee <alee@redhat.com> 1.0.0-35 +- Bugzilla Bug #460582 - add UTF-8 support * Wed Jan 28 2009 Christina Fu <cfu@redhat.com> 1.0.0-34 - Bugzilla Bug #482733 - make outputXML available via profiles; add request id i n response for deferred diff --git a/pki/dogtag/kra-ui/dogtag-pki-kra-ui.spec b/pki/dogtag/kra-ui/dogtag-pki-kra-ui.spec index ee4576659..052822d7f 100644 --- a/pki/dogtag/kra-ui/dogtag-pki-kra-ui.spec +++ b/pki/dogtag/kra-ui/dogtag-pki-kra-ui.spec @@ -34,7 +34,7 @@ ## Package Header Definitions %define base_name %{base_ui_prefix}-%{base_prefix}-%{base_component} %define base_version 1.0.0 -%define base_release 4 +%define base_release 5 %define base_group System Environment/Base %define base_vendor Red Hat, Inc. %define base_license GPLv2 with exceptions @@ -222,6 +222,8 @@ rm -rf ${RPM_BUILD_ROOT} ############################################################################### %changelog +* Fri Jan 30 2009 Ade Lee <alee@redhat.com> 1.0.0-5 +- Bugzilla Bug #460582 - add UTF-8 support * Fri Nov 28 2008 Matthew Harmsen <mharmsen@redhat.com> 1.0.0-4 - Bugzilla Bug #445402 - changed "linux"/"fedora" to "dogtag"; changed "pki-svn.fedora.redhat.com" to "pki.fedoraproject.org" diff --git a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerial.template b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerial.template index 8cf799508..a88599ede 100644 --- a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerial.template +++ b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerial.template @@ -1,5 +1,8 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +</head> <CMS_TEMPLATE> <title>Display Key</title> <head> diff --git a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerial2.template b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerial2.template index c38581da6..332d205c2 100644 --- a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerial2.template +++ b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerial2.template @@ -2,7 +2,7 @@ <html> <head> <title>Display Certificate</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <CMS_TEMPLATE> diff --git a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerialForRecovery.template b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerialForRecovery.template index 6a6d272fd..386c62dfb 100644 --- a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerialForRecovery.template +++ b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/displayBySerialForRecovery.template @@ -1,9 +1,10 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<CMS_TEMPLATE> -<title>Display Key</title> <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> +<CMS_TEMPLATE> +<title>Display Key</title> <body bgcolor="white"> <SCRIPT LANGUAGE="JavaScript"></SCRIPT> diff --git a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/examineRecovery.template b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/examineRecovery.template index d3bcd63cc..85bc69765 100644 --- a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/examineRecovery.template +++ b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/examineRecovery.template @@ -3,6 +3,7 @@ <CMS_TEMPLATE> <title>Examine Recovery</title> <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body bgcolor="white"> diff --git a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/processReq.template b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/processReq.template index 93cc4ddd3..ef6e8c4b6 100644 --- a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/processReq.template +++ b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/processReq.template @@ -1,5 +1,8 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head> <CMS_TEMPLATE> <SCRIPT LANGUAGE="JavaScript"></SCRIPT> <SCRIPT LANGUAGE="JavaScript" SRC="/helpfun.js"></SCRIPT> diff --git a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/queryKey.template b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/queryKey.template index 10651232b..0bea5f140 100644 --- a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/queryKey.template +++ b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/queryKey.template @@ -2,6 +2,9 @@ <html> <CMS_TEMPLATE> <head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +</head> + <title>Key Query Result</title> <body bgcolor="white"> diff --git a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/queryKeyForRecovery.template b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/queryKeyForRecovery.template index 6a10e8550..09e873377 100644 --- a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/queryKeyForRecovery.template +++ b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/queryKeyForRecovery.template @@ -2,6 +2,8 @@ <html> <CMS_TEMPLATE> <head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +</head> <title>Key Query Result</title> <body bgcolor="white"> <SCRIPT LANGUAGE="JavaScript"></SCRIPT> diff --git a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/queryReq.template b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/queryReq.template index 5cd3a32e7..2a7072346 100644 --- a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/queryReq.template +++ b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/queryReq.template @@ -2,7 +2,7 @@ <html> <head> <title>Request Queue</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css"> .floating { diff --git a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/srchKey.template b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/srchKey.template index ffb727707..a06999996 100644 --- a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/srchKey.template +++ b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/srchKey.template @@ -2,6 +2,9 @@ <html> <CMS_TEMPLATE> <head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +</head> + <title>Key Query Result</title> <body bgcolor="white"> diff --git a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/srchKeyForRecovery.template b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/srchKeyForRecovery.template index fd3ca070d..4c5387c32 100644 --- a/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/srchKeyForRecovery.template +++ b/pki/dogtag/kra-ui/shared/webapps/kra/agent/kra/srchKeyForRecovery.template @@ -2,6 +2,9 @@ <html> <CMS_TEMPLATE> <head> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +</head> + <title>Key Query Result</title> <body bgcolor="white"> <SCRIPT LANGUAGE="JavaScript"></SCRIPT> diff --git a/pki/dogtag/ocsp-ui/dogtag-pki-ocsp-ui.spec b/pki/dogtag/ocsp-ui/dogtag-pki-ocsp-ui.spec index 6200b59e2..cb31be5ca 100644 --- a/pki/dogtag/ocsp-ui/dogtag-pki-ocsp-ui.spec +++ b/pki/dogtag/ocsp-ui/dogtag-pki-ocsp-ui.spec @@ -34,7 +34,7 @@ ## Package Header Definitions %define base_name %{base_ui_prefix}-%{base_prefix}-%{base_component} %define base_version 1.0.0 -%define base_release 3 +%define base_release 4 %define base_group System Environment/Base %define base_vendor Red Hat, Inc. %define base_license GPLv2 with exceptions @@ -222,6 +222,8 @@ rm -rf ${RPM_BUILD_ROOT} ############################################################################### %changelog +* Fri Jan 30 2009 Ade Lee <alee@redhat.com> 1.0.0-4 +- Bugzilla Bug #460582 - add UTF-8 support * Fri Nov 28 2008 Matthew Harmsen <mharmsen@redhat.com> 1.0.0-3 - Bugzilla Bug #445402 - changed "linux"/"fedora" to "dogtag"; changed "pki-svn.fedora.redhat.com" to "pki.fedoraproject.org" diff --git a/pki/dogtag/ocsp-ui/shared/webapps/ocsp/agent/ocsp/CheckCert.html b/pki/dogtag/ocsp-ui/shared/webapps/ocsp/agent/ocsp/CheckCert.html index 03e706e3a..3e468bb96 100644 --- a/pki/dogtag/ocsp-ui/shared/webapps/ocsp/agent/ocsp/CheckCert.html +++ b/pki/dogtag/ocsp-ui/shared/webapps/ocsp/agent/ocsp/CheckCert.html @@ -19,7 +19,7 @@ <HTML> <HEAD> <TITLE>Check Certificate Status</TITLE> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <SCRIPT LANGUAGE="JavaScript" SRC="/helpfun.js"></SCRIPT> </HEAD> diff --git a/pki/dogtag/ocsp-ui/shared/webapps/ocsp/agent/ocsp/checkCert.template b/pki/dogtag/ocsp-ui/shared/webapps/ocsp/agent/ocsp/checkCert.template index b9cffede1..350ddd142 100644 --- a/pki/dogtag/ocsp-ui/shared/webapps/ocsp/agent/ocsp/checkCert.template +++ b/pki/dogtag/ocsp-ui/shared/webapps/ocsp/agent/ocsp/checkCert.template @@ -19,7 +19,7 @@ <html> <head> <title>Check Certificate Status</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <SCRIPT LANGUAGE="JavaScript"></SCRIPT> <SCRIPT LANGUAGE="JavaScript" SRC="/helpfun.js"></SCRIPT> <SCRIPT LANGUAGE="JavaScript"> |