We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6228f97 + ecc8c33 commit 6c3c5f8Copy full SHA for 6c3c5f8
view/frontend/templates/post/view/views_count.phtml
@@ -14,7 +14,7 @@
14
require(['jquery', 'domReady!'], function($){
15
setTimeout(function(){
16
$.ajax({
17
- url:"<?= $block->escapeUrl($block->getCounterUrl());?>",
+ url: atob( '<?= base64_encode($block->getCounterUrl()) ?>'),
18
type:'POST',
19
dataType: 'json',
20
success: function(response) { }
0 commit comments