diff options
author | Ade Lee <alee@redhat.com> | 2012-03-23 16:19:59 -0400 |
---|---|---|
committer | Ade Lee <alee@redhat.com> | 2012-03-23 20:51:42 -0400 |
commit | 40d3643b8d91886bf210aa27f711731c81a11e49 (patch) | |
tree | afef9b49de9539ab1d681835e150aadefb4f9e53 /pki/base/common/src/com/netscape/cms/publish/publishers/OCSPPublisher.java | |
parent | 154c2954b7986299840746e98ae7a23199cc35b9 (diff) | |
download | pki-40d3643b8d91886bf210aa27f711731c81a11e49.tar.gz pki-40d3643b8d91886bf210aa27f711731c81a11e49.tar.xz pki-40d3643b8d91886bf210aa27f711731c81a11e49.zip |
Added policy deprecations
Many of the policy deprecation warnings come from classes that probably ought to
be deprecated as part of the deprecated policy framework as well. Making these
as deprecated removes the deprecation warnings - and we can really see where
we make sure of deprecated policy code elsewhere.
Also removed some URLEncoder, Decoder deprecations
Diffstat (limited to 'pki/base/common/src/com/netscape/cms/publish/publishers/OCSPPublisher.java')
-rw-r--r-- | pki/base/common/src/com/netscape/cms/publish/publishers/OCSPPublisher.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pki/base/common/src/com/netscape/cms/publish/publishers/OCSPPublisher.java b/pki/base/common/src/com/netscape/cms/publish/publishers/OCSPPublisher.java index 80abd5f77..600bbd110 100644 --- a/pki/base/common/src/com/netscape/cms/publish/publishers/OCSPPublisher.java +++ b/pki/base/common/src/com/netscape/cms/publish/publishers/OCSPPublisher.java @@ -237,9 +237,9 @@ public class OCSPPublisher implements ILdapPublisher, IExtendedPluginInfo { StringBuffer query = new StringBuffer(); query.append("crl="); - query.append(URLEncoder.encode("-----BEGIN CERTIFICATE REVOCATION LIST-----\n")); - query.append(URLEncoder.encode(CMS.BtoA(crl.getEncoded()))); - query.append(URLEncoder.encode("\n-----END CERTIFICATE REVOCATION LIST-----")); + query.append(URLEncoder.encode("-----BEGIN CERTIFICATE REVOCATION LIST-----\n", "UTF-8")); + query.append(URLEncoder.encode(CMS.BtoA(crl.getEncoded()), "UTF-8")); + query.append(URLEncoder.encode("\n-----END CERTIFICATE REVOCATION LIST-----", "UTF-8")); query.append("&noui=true"); Socket socket = null; |