Skip to content

[Bug]: Custom password on share link #54965

@Jeveze

Description

@Jeveze

⚠️ This issue respects the following points: ⚠️

Bug description

When creating a share a random password is generated. Overwriting this password does not work.
When viewing at the POST you'll see the payload contains the generated password not the custom password.
It seems like :value.sync="share.newPassword" in server/apps/files_sharing/src/components
/SharingEntryLink.vue is not updated.

Updating the shared link with a new password after it’s first created still works.

Steps to reproduce

Config:
1.Allow users to share via link and emails.
2.Always ask for a password
3.Enforce password protection

Create a Share:

  1. Create public link
  2. Change "Enter a password"
  3. Create share
  4. Try to use the new password => Fails
  5. Generated password => works

Expected behavior

Overwriting the original password with a new one should function correctly.

Nextcloud Server version

31

Operating system

Other

PHP engine version

None

Web server

Apache (supported)

Database engine version

None

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 31 to 32)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions