Cronet modifying user Agent field
Reported by
xpnevi...@gmail.com,
Jul 28 2016
|
||||
Issue descriptionExample URL: Steps to reproduce the problem: 1. use Cronet to make network request 2. the userAgent filed will be changed by Cronet, with extra string there 3. What is the expected behavior? What went wrong? The client of Cronet could not completely control the user agent field, since Cronet will always add some extra string there Did this work before? N/A Chrome version: 51.0.2704.103 Channel: n/a OS Version: iOS 8 & 9 Flash Version: n/a
,
Jul 28 2016
,
Aug 4 2016
I've draft CL (https://codereview.chromium.org/2206283003) to address this issue, but it depends on another CL that add GN support for CrNet builds.
,
Aug 31 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/cb4f2fe1da0af2d9238d0c8d5f315b824747d103 commit cb4f2fe1da0af2d9238d0c8d5f315b824747d103 Author: mef <mef@chromium.org> Date: Wed Aug 31 16:55:25 2016 [Cronet] Add CrNet.setUserAgent method on iOS. BUG= 632460 Review-Url: https://codereview.chromium.org/2206283003 Cr-Commit-Position: refs/heads/master@{#415662} [modify] https://crrev.com/cb4f2fe1da0af2d9238d0c8d5f315b824747d103/ios/crnet/CrNet.h [modify] https://crrev.com/cb4f2fe1da0af2d9238d0c8d5f315b824747d103/ios/crnet/CrNet.mm [modify] https://crrev.com/cb4f2fe1da0af2d9238d0c8d5f315b824747d103/ios/crnet/crnet_environment.h [modify] https://crrev.com/cb4f2fe1da0af2d9238d0c8d5f315b824747d103/ios/crnet/crnet_environment.mm [modify] https://crrev.com/cb4f2fe1da0af2d9238d0c8d5f315b824747d103/ios/crnet/test/crnet_http_tests.mm
,
Oct 3 2016
|
||||
►
Sign in to add a comment |
||||
Comment 1 by zhongyi@chromium.org
, Jul 28 2016Status: Untriaged (was: Unconfirmed)