http header line parsing should be robust against empty values
Bug #1392315 reported by
Thomas Voß
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-cpp |
Fix Released
|
Critical
|
Thomas Voß | ||
net-cpp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The http header line parser for extracting key,value-pairs should be robustly handling empty header field values.
Related branches
lp:~thomas-voss/net-cpp/fix-parsing-of-empty-header-values
- Pete Woods (community): Approve
- XiaoGuo, Liu: Pending requested
- Ubuntu Phablet Team: Pending requested
-
Diff: 160 lines (+74/-29)3 files modifieddebian/libnet-cpp1.symbols (+2/-0)
src/core/net/http/impl/curl/request.h (+41/-29)
tests/http_client_test.cpp (+31/-0)
tags: | added: rtm14 |
Changed in net-cpp: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
This bug was fixed in the package net-cpp - 1.1.0+15. 04.20141204- 0ubuntu1
--------------- 15.04.20141204- 0ubuntu1) vivid; urgency=low
net-cpp (1.1.0+
[ Ubuntu daily release ] libnet- cpp1.symbols: auto-update to released version
* debian/
* New rebuild forced
[ thomas-voss ]
* Robustify header line parser against empty values in header lines.
Add test case to verify that empty header value handling is correct.
(LP: #1392315)
-- Ubuntu daily release <email address hidden> Thu, 04 Dec 2014 20:54:29 +0000