HEAD request from SSO-authorized client app leads to Nextcloud app crash #12186
Labels
bug
developer experience
feature: authentication
Authentication or accounts related
integration
performance: NPE 🚫
NullPointerException / Null Pointer Exception
stable-3.26
Steps to reproduce
The following code which executed in client application leads to Nextcloud app crash when called
See the code here
Note that changing request method to
GET
fixes error, though makes such requests energy-inefficientExpected behaviour
The HEAD request should properly work without throwing exception and/or crashing Nextcloud app
Actual behaviour
The Nextcloud app crashes showing the following report
App information
ID:
com.nextcloud.client
Version:
30260090
Build flavor:
generic
Device information
Brand:
OnePlus
Device:
OnePlus7TProNR
Model:
HD1925
Id:
TQ3A.230901.001
Product:
OnePlus7TProNR
Firmware
SDK:
33
Release:
13
Incremental:
PolarMod-1.3-r1-hotdogg-20231016_145036-user
Android version
13
Device brand and model
OnePlus 7T Pro 5G(hotdogg)
Stock or custom OS?
Custom
Nextcloud android app version
3.26.0(F-Droid)
Nextcloud server version
27.1.3
Using a reverse proxy?
Yes
Android logs
crash.log
Server error logs
Additional information
HEAD
requests seem to work without SSOThe text was updated successfully, but these errors were encountered: