Skip to content

[Bug]: CurlImpersonate Header Omission #1237

Description

@louierussel988-web

This issue respects the following points:

  • This is a bug, not a question or a configuration issue; Please visit our forum first to troubleshoot with volunteers, before creating a report. The links can be found here.
  • This issue is not already reported on GitHub (I've searched it).
  • I'm using an up to date version of OpenBullet2. We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
  • I agree to follow OpenBullet's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Description of the bug

In the latest version of OpenBullet2.Native-win-x64 which is 2.0.x, when using CurlImpersonate library with “Curl Use Browser Headers” option checked on, OB2 omits some of the headers specified in the Custom Headers section. I've only encountered this with the "Referer" header missing in the sent request's headers that I checked with Fiddler Classic. So I'm not sure about other specific headers that might be filtered out like that.

Reproduction steps

  1. Start the latest version of OpenBullet2.Native-win-x64
  2. Open any config and make an Http request block
  3. Choose the CurlImpersonate option for the Http Library
  4. Leave the “Curl Use Browser Headers” option checked
  5. Add any Referer header in the Custom Headers section, like "Referer: https://example.com"
  6. You can check the actual http request using an MITM proxy like Fiddler Classic and putting its proxy in the Proxy section
  7. Start it and check the sent request's headers in your MITM proxy tool
  8. You can see the Referer header is missing

What is the current bug behavior?

Missing an important header in the http requests that are sent using CurlImpersonate with “Curl Use Browser Headers” option checked on, e.g., Referer

What is the expected correct behavior?

Using the header, which in my case is Referer, in the actual http request

Version of the client

2.0.x

Type of client

Native client

Environment

- OS: Windows x64
- Virtualization:
- Browser:

OpenBullet2 logs

Client / Browser logs

No response

Relevant screenshots or videos

No response

Relevant LoliCode if needed

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions