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');