vrk-kpa / xroad-joint-development

Unmaintained repository. Development moved to: https://github.com/nordic-institute/X-Road-development
19 stars 8 forks source link

BUG: Security Server diagnostic page is not shown if certificate service name includes special characters #133

Closed hanhaka closed 7 years ago

hanhaka commented 7 years ago

Affected components: Signer/proxy Affected documentation: - Estimated delivery: Q2/2017 External reference: https://jira.csc.fi/browse/PVAYLADEV-726

Problem If certificate service name includes special characters (like Ü ) diagnostic page is not shown correctly. Actually, it is not opened at all but browser shows error message 'This page isn't working'.

See below jetty.log for more information:

2017-03-15 13:39:59,259 [qtp459296537-158] INFO / - Response code: 200 message: OK body: {"certificationServiceStatusMap": . . log lines removed due to sensitive information... . {"status":0,"url":"http://aaa.bbb.fi/ejbca/publicweb/status/ocsp","prevUpdate":{"hour":13,"minute":22,"second":14,"nano":135000000},"nextUpdate":{"hour":1 3,"minute":42,"second":14,"nano":135000000}}}}}}

2017-03-15 13:39:59,264 [qtp459296537-158] INFO / - Error while executing in transaction: partial character in source, but hit end near Ü, C=EE

2017-03-15 13:39:59,266 [qtp459296537-158] INFO / - partial character in source, but hit end near Ü, C=EE json/ext/Parser.java:251:in `parse'

Acceptance criteria

hanhaka commented 7 years ago

Fixed in version 6.13.0