nextcloud / nextcloud/desktop

Custom share links don't work

Open
#10,078 0 comments 0 reactions 0 assignees View on GitHub
0. Needs triage bug os: :penguin: Linux
Dominant language
C++
Stars
3.9k
Forks
1k
Avg merge
1d 17h
Merged PRs (30d)
123

Description

### ⚠️ Before submitting, please verify the following: ⚠️

- [x] This is a **bug**, not a question or a configuration issue.
- [x] This issue is **not** already reported on Github (I have searched for it).
- [x] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)

### Bug description

Using the custom link doesn't work for random numbers

### Steps to reproduce

1) create standard link
2) copy the randrom number 98a7sdaskjdhas
3) delete this link
4) create a new link
5) edit the link so it's that random number 98a7sdaskjdhas
6) NC will say the link is 98a7sdaskjdhas, but when you do website.com/s/98a7sdaskjdhas the link doesnt' work.

### Expected behavior

If the link is deleted, surely it should be cleared from the DB and it should be able to be used again.
This is useful if one wishes to change the folder location on the server but keep the shared link for clients

### Which files are affected by this bug

NA

### Operating system

Linux

### Which version of the operating system you are running.

Armbian

### Installation method

Official Linux AppImage

### Nextcloud Server version

33.0.3

### Nextcloud Desktop Client version

33.0.3

### Did this occur after an update or on a clean installation?

Minor version update (i.e. 33.0.0 → 33.0.1)

### Are you using the Nextcloud Server Encryption module?

No

### Are you using an external user-backend?

- [ ] Default internal user-backend
- [ ] LDAP or Active Directory
- [ ] SSO - SAML
- [ ] Other

### Nextcloud Server logs

```shell

```

### Additional info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.