Permalink
Browse files

system_certmanager.php html escape cert info, #1964

  • Loading branch information...
AdSchellevis committed Nov 30, 2017
1 parent f3d8b48 commit 66c533548f8a49daaf6bff0ab0fc51e5cfec31e5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/www/system_certmanager.php
@@ -569,7 +569,7 @@ function () {
BootstrapDialog.show({
title: '<?=gettext("Certificate");?>',
type:BootstrapDialog.TYPE_INFO,
message: data,
message: $("<div/>").html(data).text(),
cssClass: 'monospace-dialog',
});
}

2 comments on commit 66c5335

@fabianfrz

This comment has been minimized.

Member

fabianfrz replied Nov 30, 2017

I will be able to check this tonight but it will probably not work as the first call should be text and the second is html

@AdSchellevis

This comment has been minimized.

Member

AdSchellevis replied Nov 30, 2017

@fabianfrz it does work, I tested it on my end. but an extra test certainly won't harm

Please sign in to comment.