From d52125ac7ef1bc8223b6565cc92e0fef0c7a6dbd Mon Sep 17 00:00:00 2001 From: veselcraft Date: Fri, 8 Oct 2021 21:12:39 +0300 Subject: [PATCH] Wall: Reposting should work now on some instances --- Web/static/js/openvk.cls.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Web/static/js/openvk.cls.js b/Web/static/js/openvk.cls.js index c6db0380..a86fd4a9 100644 --- a/Web/static/js/openvk.cls.js +++ b/Web/static/js/openvk.cls.js @@ -88,6 +88,7 @@ function repostPost(id, hash) { MessageBox("Поделиться", uRepostMsgTxt, ["Отправить", "Отменить"], [ (function() { text = document.querySelector("#uRepostMsgInput_"+id).value; + hash = encodeURIComponent(hash); xhr = new XMLHttpRequest(); xhr.open("POST", "/wall"+id+"/repost?hash="+hash, true); xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');