Skip to content

Commit ecc8c33

Browse files
committed
post view count encode url
1 parent ceb5e63 commit ecc8c33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

view/frontend/templates/post/view/views_count.phtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
require(['jquery', 'domReady!'], function($){
1515
setTimeout(function(){
1616
$.ajax({
17-
url:"<?= $block->escapeUrl($block->getCounterUrl());?>",
17+
url: atob( '<?= base64_encode($block->getCounterUrl()) ?>'),
1818
type:'POST',
1919
dataType: 'json',
2020
success: function(response) { }

0 commit comments

Comments
 (0)