[Bug]: Undefined array key "HTTP_USER_AGENT" at 3rdparty/deepdiver/zipstreamer/src/ZipStreamer.php#159 #41466
Closed
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Found in a customer log file:
{
"reqId": "",
"level": 3,
"time": "October 31, 2023 03:09:42",
"remoteAddr": "",
"user": "",
"app": "PHP",
"method": "GET",
"url": "/s/123456789/download",
"message": "Undefined array key \"HTTP_USER_AGENT\" at 3rdparty/deepdiver/zipstreamer/src/ZipStreamer.php#159",
"userAgent": "--",
"version": "27.1.2.2",
"data": {
"app": "PHP"
}
}
Steps to reproduce
Download a public share without having a user agent? 🤷
Expected behavior
No warning ;)
Installation method
None
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
Activity