Skip to content

Commit 6c3c5f8

Browse files
authored
Merge pull request #507 from magefan/8588-post-view-links-404
post view count encode url
2 parents 6228f97 + ecc8c33 commit 6c3c5f8

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)