Skip to content

Allow configuring the User-Agent sent to Nextcloud - #723

Merged
icewind1991 merged 1 commit into
nextcloud:mainfrom
IONOS-Productivity:ms/user_agent_support
Jul 13, 2026
Merged

Allow configuring the User-Agent sent to Nextcloud#723
icewind1991 merged 1 commit into
nextcloud:mainfrom
IONOS-Productivity:ms/user_agent_support

Conversation

@matsaur

@matsaur matsaur commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Some deployments front Nextcloud with proxies/WAFs that filter requests based on User-Agent, so the push daemon needs a way to send a custom one for the requests it makes to the Nextcloud instance (including credential verification). Adds a USER_AGENT env var / --user-agent flag, following the same config plumbing as ALLOW_SELF_SIGNED.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Some deployments front Nextcloud with proxies/WAFs that filter requests
based on User-Agent, so the push daemon needs a way to send a custom
one for the requests it makes to the Nextcloud instance (including
credential verification). Adds a USER_AGENT env var / --user-agent
flag, following the same config plumbing as ALLOW_SELF_SIGNED.

Signed-off-by: Matthias Sauer <sauerm@strato.de>
@matsaur
matsaur force-pushed the ms/user_agent_support branch from fbecb1f to 7a12c6f Compare July 9, 2026 07:12
@icewind1991
icewind1991 merged commit 3b9ab37 into nextcloud:main Jul 13, 2026
42 checks passed
@github-actions

Copy link
Copy Markdown

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

mwalbeck pushed a commit to mwalbeck/docker-nextcloud-notify-push that referenced this pull request Jul 31, 2026
This PR contains the following updates:

| Package | Update | Change | Pending |
|---|---|---|---|
| [nextcloud/notify_push](https://github.com/nextcloud/notify_push) | patch | `v1.3.3` → `v1.3.4` | `v1.3.5` |

---

### Release Notes

<details>
<summary>nextcloud/notify_push (nextcloud/notify_push)</summary>

### [`v1.3.4`](https://github.com/nextcloud/notify_push/releases/tag/v1.3.4): 1.3.4

[Compare Source](nextcloud/notify_push@v1.3.3...v1.3.4)

#### What's Changed

- fix: automatically fall back to ipv4 if ipv6 is disabled an no bind address is specified by [@&#8203;icewind1991](https://github.com/icewind1991) in [#&#8203;710](nextcloud/notify_push#710)
- Suggest optional security hardening in systemd service by [@&#8203;JustArchi](https://github.com/JustArchi) in [#&#8203;704](nextcloud/notify_push#704)
- fix: add missing prefix to log as debug by [@&#8203;solracsf](https://github.com/solracsf) in [#&#8203;712](nextcloud/notify_push#712)
- fix: migrate commands to OC\Core\Command\Base class by [@&#8203;Antreesy](https://github.com/Antreesy) in [#&#8203;708](nextcloud/notify_push#708)
- Allow configuring the User-Agent sent to Nextcloud by [@&#8203;matsaur](https://github.com/matsaur) in [#&#8203;723](nextcloud/notify_push#723)
- Quote paths when invoking notify\_push binary by [@&#8203;kesselb](https://github.com/kesselb) in [#&#8203;722](nextcloud/notify_push#722)
- MSRV has been increased to 1.94

#### New Contributors

- [@&#8203;solracsf](https://github.com/solracsf) made their first contribution in [#&#8203;712](nextcloud/notify_push#712)
- [@&#8203;Antreesy](https://github.com/Antreesy) made their first contribution in [#&#8203;708](nextcloud/notify_push#708)
- [@&#8203;rizlas](https://github.com/rizlas) made their first contribution in [#&#8203;695](nextcloud/notify_push#695)
- [@&#8203;matsaur](https://github.com/matsaur) made their first contribution in [#&#8203;723](nextcloud/notify_push#723)
- [@&#8203;kesselb](https://github.com/kesselb) made their first contribution in [#&#8203;722](nextcloud/notify_push#722)

**Full Changelog**: <nextcloud/notify_push@v1.3.3...v1.3.4>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjI2MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://git.walbeck.it/walbeck-it/docker-nextcloud-notify-push/pulls/228
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants