Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable25] Catch more invalid cache source storage paths #39731

Merged
merged 2 commits into from
Sep 5, 2023

Commits on Aug 6, 2023

  1. Catch more invalid cache source storage paths

    OC\Files\Cache\Cache::get can return string|false|null, not just string|false.
    
    - #26270 added handling of false, but null is needed too.
    - Well, or we change the default $resullt to false, but I'm not sure if that has other ramifications and the real need here is to simply catch situations where the cache source storage path is not valid for whatever reason
    
    Related: #19009
    
    Signed-off-by: Josh Richards <[email protected]>
    joshtrichards authored and backportbot-nextcloud[bot] committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    cc801d7 View commit details
    Browse the repository at this point in the history
  2. fix: simplify sourceData check

    Co-authored-by: Git'Fellow <[email protected]>
    Signed-off-by: John Molakvoæ <[email protected]>
    2 people authored and backportbot-nextcloud[bot] committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    3330403 View commit details
    Browse the repository at this point in the history