mirror of
https://github.com/opencultureconsulting/orcli.git
synced 2025-05-04 00:00:16 +02:00
Merge pull request #129 from tzeumer/fix-csrf_error_export_OR_3.8.4+
Fix "Missing or invalid csrf_token parameter" on export for OR 3.8.4+
This commit is contained in:
commit
ffb28e6025
1
orcli
1
orcli
@ -1496,6 +1496,7 @@ function log() {
|
||||
# post to export-rows endpoint
|
||||
# shellcheck shell=bash disable=SC2154
|
||||
function post_export() {
|
||||
csrf="$(get_csrf)"
|
||||
local curloptions
|
||||
for d in "$@"; do
|
||||
curloptions+=("--data-urlencode")
|
||||
|
Loading…
x
Reference in New Issue
Block a user