mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
server: fix problems with escaping
This commit is contained in:
@ -24,11 +24,11 @@ function formatApiLink(...values) {
|
||||
}
|
||||
|
||||
function escapeParam(text) {
|
||||
return encodeURIComponent(text).replace(/%/g, '$');
|
||||
return encodeURIComponent(text);
|
||||
}
|
||||
|
||||
function unescapeParam(text) {
|
||||
return decodeURIComponent(text.replace(/\$/g, '%'));
|
||||
return decodeURIComponent(text);
|
||||
}
|
||||
|
||||
function formatClientLink(...values) {
|
||||
|
Reference in New Issue
Block a user