commit | 6df2d390bed3640dba6b4d6e684916908a84fa4b | [log] [tgz] |
---|---|---|
author | Jeffrey Kardatzke <jkardatzke@google.com> | Thu Apr 25 17:59:33 2019 |
committer | chrome-bot <chrome-bot@chromium.org> | Sat Apr 27 08:36:40 2019 |
tree | fa83d690631847eb4d1a87530659362c806fca5a | |
parent | 879d110ec15d141f277f85035654ef9946db4fe7 [diff] |
libbrillo: Conditionally quote boundary field in Content-Type While technically it is not incorrect to do this, there are implementations of HTTP servers that don't handle this properly. A specific example is the server that handles uploads of crash reports. I've contacted them about fixing it on their end as well...but we might as well change it on ours too. BUG=None TEST=Verified uploads to crash server work with this change Change-Id: I143a0823e8b22e67ad5b54e8e86c0378ad227e10 Reviewed-on: https://chromium-review.googlesource.com/1584418 Commit-Ready: Jeffrey Kardatzke <jkardatzke@google.com> Tested-by: Jeffrey Kardatzke <jkardatzke@google.com> Reviewed-by: Tim Zheng <timzheng@chromium.org> Cr-Mirrored-From: https://chromium.googlesource.com/chromiumos/platform2 Cr-Mirrored-Commit: 33b6f16e53995b912b8096c4068eafc3753de730
libbrillo is a shared library meant to hold common utility code that we deem useful for platform projects. It supplements the functionality provided by libbase/libchrome since that project, by design, only holds functionality that Chromium (the browser) needs. As a result, this tends to be more OS-centric code.
This project is also used by Update Engine which is maintained in AOSP. However, AOSP doesn't use this codebase directly, it maintains its own libbrillo fork.
To help keep the projects in sync, we have a gsubtree set up on our GoB: https://chromium.googlesource.com/chromiumos/platform2/libbrillo/
This allows AOSP to cherry pick or merge changes directly back into their fork.