Conversation
|
@blizzz i tried to add some test cases for the array as $option but not sure which format is expected. server/apps/files_external/lib/config.php Lines 288 to 294 in ae7f89f I guess we should pass |
Anything that is entered in the external storage configuration (but the mount name) will be passed there (just for the password there should be some exception somewhere). We pass only strings, and if it is an array we go a level deeper. |
Thank you ;) Mind to check the code? I think we call |
|
As reference: #15654 I guess $ is a valid character for an smb share name: https://docs.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-shares--directories--files--and-metadata Do you think we could use another character for placeholders? |
|
As reference: #15934 Looks like $ is also a valid character for an smb username. |
|
Fix #15934 |
|
Like wiswedel I can confirm this patch resolve hidden share problem, with this you can use //server/share$. |
|
To merge? |
@skjnldsv At least @icewind1991 already approved. |
@schiessle / @blizzz If you do a second review please look at the comment. I still think there is something broken. Thank you 👍 |
|
@kesselb you are correct I think, also the 2nd |
|
16.0.3 breaks this patch |
A hidden smb share ends with $. This patch changes the placeholder detection to allow shares with $ at the end. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
e5ebd76 to
1ae6804
Compare
|
@kesselb yes, in hindsight, i agree with @icewind1991 |
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
Pushed a fix for the invalid recursion. I'm not sure if the feature now works as expected. Could not find any information under which conditions |
|
Failure unrelated :) |
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
|
/backport to stable16 |
|
backport to stable16 in #16527 |
Fix #15567
A hidden smb share ends with $. This patch changes the placeholder
detection to allow shares with $ at the end.