Bug 862898

Summary: [REF] Check all incoming string for utf-8 encoding and issue a 400 Bad Request if any don't comply
Product: [Retired] Pulp Reporter: Jason Connor <jconnor>
Component: API/integrationAssignee: Jason Connor <jconnor>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: MasterCC: mmccune, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: Sprint 41   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-09 17:09:00 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:
Embargoed:

Description Jason Connor 2012-10-03 20:32:45 UTC
Pulp does not do a good job of enforcing the utf-8 encoding requirement on input strings. We need a single point of entry that check all input and will barf when strings are encoded in anything else.

Comment 1 Jason Connor 2012-10-17 22:22:09 UTC
Added a method in the controller base class to recursively parse input structures and ensure that strings are encoded in utf-8. Throws a PulpDataException if there's a problem.

Comment 2 Jason Connor 2012-11-07 17:34:31 UTC
Merged into master in revision:
27bafc56580475f2084c3290a7d6bba9cdfa3b97

Comment 3 Jeff Ortel 2012-11-12 22:33:34 UTC
build: 2.0.6-0.2.beta

Comment 4 Preethi Thomas 2013-01-09 17:09:00 UTC
Pulp v2.0 released