Skip to content

Adding User-Agent when contacting update server #608

Description

@SDGPeteBatin

Hey,

I've been using plugin-update-checker for a while. I've noticed recently that some attempts to update are unsuccessful depending on what hosting the plugin is installed on (those with less than brilliant reputations). Turns out the hosting that the plugin update server is using has their own WAF's and captcha service, and the hosting that the plugin is using triggers those rules resulting in a captcha.

We've been advised by the update server hosting to include a modern style User-Agent when connecting/downloading. Is this possible already? We're still using v5.4 and appreciate there's now 5.7 but I didn't see anything about User-Agent when reading the change logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions