You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Autofill “Share label” and “Set password” fields when editing a shared link #44451
In nextcloud version 28.0.3, I discovered an unpleasant feature when editing custom permissions for a shared link.
The “Link name” and “Set password” fields are filled in automatically and are taken from the nextcloud user name and password saved by the browser.
Steps to reproduce
The shared link is configured to "Always ask for password"
Create new share link for file or folder (We do not specify “Link name”)
Select edit Custom permissions" for this link
The “Link name” and “Set password” fields are filled in automatically and are taken from the nextcloud user name and password saved by the browser.
Expected behavior
The “Link name” and “Set password” fields must be empty
Installation method
Community Docker image
Nextcloud Server version
28
Operating system
Debian/Ubuntu
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
I also have this annoying bug in version 28.0.3 using Microsoft Edge Version 122.0.2365.92
Every time I enter the edit view of a share with "Custom Permissions" MS Edge auto fills and therefore overwrites the share's password with the Nextcloud user password:
Activity
shk3bq4d commentedon Mar 26, 2024
Hello, I upgraded yesterday from 26.0.12 to 27.1.7 and have since witnessed the exact same problem.
Flow-Gee commentedon Mar 27, 2024
I also have this annoying bug in version 28.0.3 using Microsoft Edge Version 122.0.2365.92
Every time I enter the edit view of a share with "Custom Permissions" MS Edge auto fills and therefore overwrites the share's password with the Nextcloud user password:

rrroig commentedon Mar 29, 2024
Same here. Annoying bug. Too much JavaScript... Please keep it simple.
susnux commentedon Mar 29, 2024
What you see there is not Nextcloud filling out the fields but your browser from the saved passwords, not much we can do there.
urfin73 commentedon Mar 29, 2024
I will, of course, turn off autofill. But there are many users, such as accountants, managers. What should we do with them?
urfin73 commentedon Mar 29, 2024
Is it possible to name the input fields differently, without using the words “label” and “password”, so that the browser does not use autofill?
susnux commentedon Mar 29, 2024
I pushed a fixed waiting for reviews in #44575 :)