Skip to content

[BUG] 分享文件时如果最最大访问次数设置为1,会出现第一次访问就直接失效:the share has expired or is no longer valid #2143

@yscjr

Description

@yscjr

Please confirm the following

  • I have read and agree to AGPL-3.0 Section 15 .
    The program is provided "as is" without any warranties; you bear all risks of using it.

  • I have read and agree to AGPL-3.0 Section 16 .
    The copyright holders and distributors are not liable for any damages resulting from the use or inability to use the program.

  • I confirm my description is clear, polite, helps developers quickly locate the issue, and complies with community rules.

  • I have read the OpenList documentation.

  • I confirm there are no duplicate issues or discussions.

  • I confirm this is an OpenList issue, not caused by other reasons (such as network, dependencies, or operation).

  • I believe this issue must be handled by OpenList and not by a third party.

  • I confirm this issue is not fixed in the latest version.

  • I have not read these checkboxes and therefore I just ticked them all, Please close this issue

OpenList Version (required)

beta

Storage Driver Used (required)

本机存储

Bug Description (required)

分享文件时,如果设置了最大访问次数,则最后一次访问会直接失效无法访问。
例如:设置最大访问次数为3,第3次访问会直接返回the share has expired or is no longer valid,分享链接失效。
Image
最主要的影响是:如果设置最大访问次数为1,就会出现第1次访问就直接失效的情况。

Logs (required)

Configuration File Content (required)

Reproduction Link (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions