Bug 782126

Summary: Parsing of supported locale is not working correctly
Product: Red Hat Satellite Reporter: Og Maciel <omaciel>
Component: Localization and InternationalizationAssignee: Shannon Hughes <shughes>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:19:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 747354    

Description Og Maciel 2012-01-16 15:50:00 UTC
Description of problem:

As per shughes, we need to make sure we are handling regional locales correctly when parsing the http accept language header from the browser requests (i.e. pt-BR, zh-TW, zh-CN... etc). Currently those are defaulting to english because we need to fix the reg ex.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Shannon Hughes 2012-01-16 19:43:17 UTC
commit 0f213d87c7a4578071f956548d118712944c44ba

Comment 2 Mike McCune 2012-01-26 19:08:04 UTC
mass ON_QA move

Comment 3 Og Maciel 2012-01-27 14:00:58 UTC
Verified on Katello Version: 0.1.198-1.el6