summaryrefslogtreecommitdiff
path: root/eaaf_modules/eaaf_module_auth_sl20
diff options
context:
space:
mode:
authorThomas <>2023-09-06 11:19:23 +0200
committerThomas <>2023-09-06 11:19:23 +0200
commit21910c629466f7cde71698aad14f62b7ad994c56 (patch)
tree874a3acc28f927eb766843bcdc9e0eb7fbd6d12a /eaaf_modules/eaaf_module_auth_sl20
parentd2f36fc70ad91e92db1f5a03774dcb458de2f4d0 (diff)
downloadEAAF-Components-21910c629466f7cde71698aad14f62b7ad994c56.tar.gz
EAAF-Components-21910c629466f7cde71698aad14f62b7ad994c56.tar.bz2
EAAF-Components-21910c629466f7cde71698aad14f62b7ad994c56.zip
fix(sl20): set UTF-8 encoding for SL2.0 requests
Diffstat (limited to 'eaaf_modules/eaaf_module_auth_sl20')
-rw-r--r--eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/tasks/AbstractCreateQualEidRequestTask.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/tasks/AbstractCreateQualEidRequestTask.java b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/tasks/AbstractCreateQualEidRequestTask.java
index 7e895d89..d85421b5 100644
--- a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/tasks/AbstractCreateQualEidRequestTask.java
+++ b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/tasks/AbstractCreateQualEidRequestTask.java
@@ -108,7 +108,7 @@ public abstract class AbstractCreateQualEidRequestTask extends AbstractAuthServl
//inject additional request parameters
injectAdditionalSL20RequestParams(parameters, executionContext, request);
- httpReq.setEntity(new UrlEncodedFormEntity(parameters));
+ httpReq.setEntity(new UrlEncodedFormEntity(parameters, StandardCharsets.UTF_8));
// set native client header
httpReq.addHeader(SL20Constants.HTTP_HEADER_SL20_CLIENT_TYPE, SL20Constants.HTTP_HEADER_VALUE_NATIVE);