jimmyl0l3c / cfg_share_links

App for Nextcloud that adds the ability to specify share tokens
GNU Affero General Public License v3.0
31 stars 3 forks source link

Custom link doesn't work if same as username #170

Open samuel-chaboisseau opened 11 months ago

samuel-chaboisseau commented 11 months ago

Hi, the link doesn't work if it has the same name as a user For example if you use "admin" as a custom link. With no error, I must unshare and create another share with another name.

Some details : Nextcloud 27.1.2 Configurable Share Links : 4.2.0

zell-mbc commented 9 months ago

Just ran into the same issue. Not ideal for my use case hence it would be good to understand if this is viewed as a bug and might get fixed.

Edit: This might be a Nextcloud issue rather than cfg_share_links. I renamed a share (token field) in the database and ran into the same error. update oc_share set token='<username>' where id=8;

jimmyl0l3c commented 6 months ago

Hi, NC does not allow it, but the app shouldnt let you create such a share, so that has to be adressed.