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:
Felix Lohmeier 2024-12-08 23:41:13 +01:00 committed by GitHub
commit ffb28e6025
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

1
orcli
View File

@ -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")