Repository navigation
Fix HTTPS support on external storages - #22636
Conversation
Otherwise debugging issues is a PITA
The current logic is checking whether: 1. The returned value is a boolen 2. The returned value is a string and then matches for "true" Since the config is now written to the database the data is now a string with the value "1" if HTTPS is set to true. Effectively this option was thus always disabled at the moment, falling back to plain HTTP. This change casts the data to a boolean if it is defined as boolean. Fixes #22605 Fixes #22016
|
Tested, works: the checkbox value is preserved 👍 @davitol @SergioBertolinSG @icewind1991 @Xenopathic second review ? |
|
I've tested this issue #22016 After mounting the webdav mount, it appears in the filesview, but when i browse into the folder, it disappears |
Thou shall describe exactly what you have done exactly 😉 |
|
@LukasReschke The PR works fine 👍
It does not dissapear, i was wrong due to the webdavmount had the same skeleton folders than the server I used. So when i browsed into it i thought it was disappearing 💀 Sorry for the mistake |
No worries 😄 |
Fix HTTPS support on external storages
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The current logic is checking whether:
Since the config is now written to the database the data is now a string with the value "1" if HTTPS is set to true. Effectively this option was thus always disabled at the moment, falling back to plain HTTP.
This change casts the data to a boolean if it is defined as boolean.
Fixes #22605
Fixes #22016
@SergioBertolinSG Please test
@PVince81 @icewind1991 Mind taking a look?