diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-09-19 21:04:57 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-09-23 15:29:26 +0000 |
commit | 060eea5f03eefb731ed6991cbdf811212e730b24 (patch) | |
tree | 4338148e6d188c0fced63078a26db322062c1619 /install/ui/certificate.js | |
parent | ad37727150abecb19a55fe7ae18bccb3a63052b9 (diff) | |
download | freeipa-060eea5f03eefb731ed6991cbdf811212e730b24.tar.gz freeipa-060eea5f03eefb731ed6991cbdf811212e730b24.tar.xz freeipa-060eea5f03eefb731ed6991cbdf811212e730b24.zip |
Fixed problem displaying special characters.
Some jQuery objects in various locations have been modified to use
text() to show values obtained from the server (except messages).
The text() will automatically encode special characters.
Ticket #1798
Diffstat (limited to 'install/ui/certificate.js')
-rwxr-xr-x | install/ui/certificate.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/install/ui/certificate.js b/install/ui/certificate.js index 781b59ec4..15789fc1a 100755 --- a/install/ui/certificate.js +++ b/install/ui/certificate.js @@ -232,25 +232,25 @@ IPA.cert.view_dialog = function(spec) { tr = $('<tr/>').appendTo(table); $('<td>'+IPA.messages.objects.cert.common_name+':</td>').appendTo(tr); $('<td/>', { - 'html': that.subject.cn + text: that.subject.cn }).appendTo(tr); tr = $('<tr/>').appendTo(table); $('<td>'+IPA.messages.objects.cert.organization+':</td>').appendTo(tr); $('<td/>', { - 'html': that.subject.o + text: that.subject.o }).appendTo(tr); tr = $('<tr/>').appendTo(table); $('<td>'+IPA.messages.objects.cert.organizational_unit+':</td>').appendTo(tr); $('<td/>', { - 'html': that.subject.ou + text: that.subject.ou }).appendTo(tr); tr = $('<tr/>').appendTo(table); $('<td>'+IPA.messages.objects.cert.serial_number+':</td>').appendTo(tr); $('<td/>', { - 'html': that.serial_number + text: that.serial_number }).appendTo(tr); tr = $('<tr/>').appendTo(table); @@ -262,19 +262,19 @@ IPA.cert.view_dialog = function(spec) { tr = $('<tr/>').appendTo(table); $('<td>'+IPA.messages.objects.cert.common_name+':</td>').appendTo(tr); $('<td/>', { - 'html': that.issuer.cn + text: that.issuer.cn }).appendTo(tr); tr = $('<tr/>').appendTo(table); $('<td>'+IPA.messages.objects.cert.organization+':</td>').appendTo(tr); $('<td/>', { - 'html': that.issuer.o + text: that.issuer.o }).appendTo(tr); tr = $('<tr/>').appendTo(table); $('<td>'+IPA.messages.objects.cert.organizational_unit+':</td>').appendTo(tr); $('<td/>', { - 'html': that.issuer.ou + text: that.issuer.ou }).appendTo(tr); tr = $('<tr/>').appendTo(table); @@ -286,13 +286,13 @@ IPA.cert.view_dialog = function(spec) { tr = $('<tr/>').appendTo(table); $('<td>'+IPA.messages.objects.cert.issued_on+':</td>').appendTo(tr); $('<td/>', { - 'html': that.issued_on + text: that.issued_on }).appendTo(tr); tr = $('<tr/>').appendTo(table); $('<td>'+IPA.messages.objects.cert.expires_on+':</td>').appendTo(tr); $('<td/>', { - 'html': that.expires_on + text: that.expires_on }).appendTo(tr); tr = $('<tr/>').appendTo(table); @@ -304,13 +304,13 @@ IPA.cert.view_dialog = function(spec) { tr = $('<tr/>').appendTo(table); $('<td>'+IPA.messages.objects.cert.sha1_fingerprint+':</td>').appendTo(tr); $('<td/>', { - 'html': that.sha1_fingerprint + text: that.sha1_fingerprint }).appendTo(tr); tr = $('<tr/>').appendTo(table); $('<td>'+IPA.messages.objects.cert.md5_fingerprint+':</td>').appendTo(tr); $('<td/>', { - 'html': that.md5_fingerprint + text: that.md5_fingerprint }).appendTo(tr); }; |