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

Allow upload link to work for subdirectory of upload folder. #321

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 14, 2020

  1. Allow upload link to work for subdirectory of upload folder.

    Currently the behavior is such that the directory specified in the
    two requests have to match, which makes the argument for the second
    request completely useless. If this were to be the desired behavior
    then the `parent_dir` parameter should just be ignored from the second
    request completely. Alternatively, this commit allows upload to a subdirectory
    of the `p` parameter from the first request again.
    This matches the old behavior better without allowing uploading to
    an arbitrary directory.
    
    If the current behavior is also desired for some use cases,
    it should be added as new request or
    with a new parameter on the first request.
    
    Fix regression from haiwen#286.
    
    Fix haiwen/seahub#4441
    yuyichao committed Feb 14, 2020
    Configuration menu
    Copy the full SHA
    b15baaa View commit details
    Browse the repository at this point in the history