Project

General

Profile

Bug #2879

rgw: xml parser doesn't work correctly with escape sequences

Added by Yehuda Sadeh over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
argonaut
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

e.g., when providing data with """, the entity is getting clobbered.

Associated revisions

Revision 03b787e0 (diff)
Added by Yehuda Sadeh over 7 years ago

rgw_xml: xml_handle_data() appends data string

Fixes: #2879.
xml_handle_data() appends data to the object instead of just
replacing it. Parsed data can arrive in pieces, specifically
when data is escaped.

Backport: argonaut
Signed-off-by: Yehuda Sadeh <>

Revision a06f7783 (diff)
Added by Yehuda Sadeh over 7 years ago

rgw_xml: xml_handle_data() appends data string

Fixes: #2879.
xml_handle_data() appends data to the object instead of just
replacing it. Parsed data can arrive in pieces, specifically
when data is escaped.

Backport: argonaut
Signed-off-by: Yehuda Sadeh <>

History

#1 Updated by Yehuda Sadeh over 7 years ago

  • Status changed from New to Fix Under Review

#2 Updated by Yehuda Sadeh over 7 years ago

  • Status changed from Fix Under Review to Resolved

Fixed, commit:03b787e0ee1d94e054cfb17059e5e108a7162d7b

Also available in: Atom PDF