aboutsummaryrefslogtreecommitdiff
path: root/common/src/main/java/at/gv
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2013-09-04 07:18:39 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2013-09-04 07:18:39 +0200
commit8854b5c2c1e342b891271a04face4f4479653d46 (patch)
tree5dd6054fad6827dc50eeaf95dd629467458d2a12 /common/src/main/java/at/gv
parent7c6ecaa8adb365a6c670cb86bb68be94136dc6a0 (diff)
downloadmoa-id-spss-8854b5c2c1e342b891271a04face4f4479653d46.tar.gz
moa-id-spss-8854b5c2c1e342b891271a04face4f4479653d46.tar.bz2
moa-id-spss-8854b5c2c1e342b891271a04face4f4479653d46.zip
Configuration Tool Update and Bugfix
-- Username/Password login update -- EditUser, insert second password textfield -- OAConfig: insert OA specific SecurityLayer Templates -- OAConfig: SecurityLayer Version only for admin
Diffstat (limited to 'common/src/main/java/at/gv')
-rw-r--r--common/src/main/java/at/gv/egovernment/moa/util/URLEncoder.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/src/main/java/at/gv/egovernment/moa/util/URLEncoder.java b/common/src/main/java/at/gv/egovernment/moa/util/URLEncoder.java
index 3255b3157..e6df1fd33 100644
--- a/common/src/main/java/at/gv/egovernment/moa/util/URLEncoder.java
+++ b/common/src/main/java/at/gv/egovernment/moa/util/URLEncoder.java
@@ -44,6 +44,8 @@ public class URLEncoder {
* @throws UnsupportedEncodingException when the desired encoding is not supported
*/
public static String encode(String s, String encoding) throws UnsupportedEncodingException {
+// if (MiscUtil.isEmpty(s))
+// return null;
byte[] barr = s.getBytes(encoding);
ByteArrayInputStream bin = new ByteArrayInputStream(barr);
StringWriter out = new StringWriter();