Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 283505 Details for
Bug 379337
dev-libs/boost-1.46.1 property_tree xml_parser does not use proper attribute encoding
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xml_write.patch
xml_write.patch (text/plain), 982 bytes, created by
Livid
on 2011-08-15 23:01:53 UTC
(
hide
)
Description:
xml_write.patch
Filename:
MIME Type:
Creator:
Livid
Created:
2011-08-15 23:01:53 UTC
Size:
982 bytes
patch
obsolete
>Index: trunk/boost/property_tree/detail/xml_parser_write.hpp >=================================================================== >--- a/trunk/boost/property_tree/detail/xml_parser_write.hpp >+++ b/trunk/boost/property_tree/detail/xml_parser_write.hpp >@@ -116,6 +116,9 @@ > if (optional<const Ptree &> attribs = pt.get_child_optional(xmlattr<Ch>())) > for (It it = attribs.get().begin(); it != attribs.get().end(); ++it) >- stream << Ch(' ') << it->first << Ch('=') << >- Ch('"') << it->second.template get_value<std::basic_string<Ch> >() << Ch('"'); >+ stream << Ch(' ') << it->first << Ch('=') >+ << Ch('"') >+ << encode_char_entities( >+ it->second.template get_value<std::basic_string<Ch> >()) >+ << Ch('"'); > > if ( has_attrs_only )
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 379337
: 283505