Bug 6876

Summary: Add error handling to parser for submitted error data
Product: [Yocto Project Subprojects] Error Reporting tool Reporter: Michael Wood <michael.g.wood>
Component: Error Reporting ToolAssignee: Michael Wood <michael.g.wood>
Status: VERIFIED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu
Version: unspecified   
Target Milestone: 1.8 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 6523    

Description Michael Wood 2014-10-23 14:02:40 UTC
There is no error handling of the parsing of submitted data which could cause problems.
We also don't want to entirely rely on the configuration of nginx / apache etc front end http server to handle all the issues like rate limiting and payload size handling.
Comment 1 Michael Wood 2015-01-23 19:44:48 UTC
commit 9453ced5823c945477010a4e6f7394997f2d2301

    Parser: Add basic catching of exceptions from invalid data
    
    When we catch these exceptions make sure we send back a useful response
    and a http 500 status code
Comment 2 Mihail Stanciu 2015-02-09 09:51:37 UTC
Verified.