Bug 1036151

Summary: UTF in custom header/footer and login banner
Product: Red Hat Satellite 5 Reporter: Matej Kollar <mkollar>
Component: WebUIAssignee: Matej Kollar <mkollar>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Studeník <pstudeni>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 560CC: cperry, mkorbel, pstudeni, xdmoon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-14 15:33:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1128175    

Description Matej Kollar 2013-11-29 15:11:23 UTC
Description of problem: Using UTF-8 encoding with wide characters are not interpreted correctly.

How reproducible: always/deterministic


Steps to Reproduce:

  * add folowing line to /etc/rhn/rhn.conf
        java.login_banner = >>>\u00e1\u00fd<<< >>>áý<<<
  * observe login page

Actual results:
  * wide characters are "broken". Escaped-ones are ok,
    but native utf-8 characters are trash

Expected results:
  * ">>>áý<<< >>>áý<<<" on login page

Additional info:
  as can be seen, workaround exist, escaping can be done
  by `native2ascii` tool

Comment 1 Matej Kollar 2013-11-29 15:14:20 UTC
fixed in upstream

  spacewalk.git c2d6a6197e77aec341cc01a7c7340fe854a8cb6b

Comment 3 Pavel Studeník 2014-10-09 08:48:00 UTC
Verified spacewalk-java-2.3.8-28.el6sat.noarch

Comment 5 Martin Korbel 2015-01-14 10:49:37 UTC
Re-verified on Satellite-5.7.0-RHEL6-re20150105.1 (spacewalk-java-2.3.8-96.el6sat)
Using steps described in comment 0.