Skip to content

Commit 233405c

Browse files
fix: specify charset utf-8 (#129)
Co-authored-by: sjvans <30337871+sjvans@users.noreply.github.com>
1 parent 9bbb1b1 commit 233405c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
1010

1111
- Erroneous modification log for non-updated key properties
1212
- Error during non-modifying queries on database level
13+
- Specify charset UTF-8 for requests to SAP Audit Log Service
1314

1415
## Version 0.8.1 - 2024-09-13
1516

srv/log2restv2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ module.exports = class AuditLog2RESTv2 extends AuditLogService {
8080
}
8181

8282
async _send(data, path) {
83-
const headers = { 'content-type': 'application/json' }
83+
const headers = { 'content-type': 'application/json;charset=utf-8' }
8484
if (this._vcap) {
8585
headers.XS_AUDIT_ORG = this._vcap.organization_name
8686
headers.XS_AUDIT_SPACE = this._vcap.space_name

0 commit comments

Comments
 (0)