Open edvanleeuwen opened 3 months ago
Not sure, since when I get this too, but my NextCloud v29.0.4 is also affected.
same problem here. Link shows the directory but empty with the above error message. Nextcloud Version 29.0.3 and idem after update to 29.0.4
it does not seem to be a problem of ShareRenamer. I tried with another app (configurable share links) and it's the same problem. For the configurable links I tried, the problem occured, when I used a "-" within the token. For example, if I named the link "https://....../link-1234" it didn't work an the error message was displayed. But when the link was changed to "https://....../link1234" (without the hyphen), the link worked fine and all files in the folder were displayed.
My link indeed also contains a "-". Similar problem was also reported to for the other app in https://github.com/jimmyl0l3c/cfg_share_links/issues/223. They link to upstream https://github.com/nextcloud/server/issues/45381
In fact, this bug with the "-" symbol in the link name is reproduced for me only for folders that are not at the root, but at least deeper than the root by one folder. For files, links with "-" work at all levels. Most likely, the problem is on the nextcloud side, however, judging by their records, they do not officially support changing links, and also do not use the "-" symbol when generating links. Accordingly, if this bug cannot be circumvented, then it is necessary to prohibit the use of the "-" symbol in the link name when creating on the application side. Perhaps the nextcloud team will someday start using the "-" symbol in link names and fix this bug)
The "Configurable Share Links" app decided to disallow "-" in URLs as NC-team seems unwilling to support this char. (https://github.com/jimmyl0l3c/cfg_share_links/pull/257)
For one of the renamed links, I get the error mentioned above. Deleting and recreating does not have an effect.
The log shows:
[webdav] Error: Requested uri (/public.php/dav/files/blad-de-scheidsrechter/) is out of base uri (/public.php/dav/files/blad/) PROPFIND /public.php/dav/files/blad-de-scheidsrechter/ from by -- at 17 jul 2024 21:13:10