Skip to content

Conversation

@come-nc
Copy link
Contributor

@come-nc come-nc commented Aug 25, 2025

  • Resolves: #

Summary

Since #52752 there are errors in the integration tests logs that says "Dot files are not allowed" when a move is done for a file in the root folder.
This is because dirname will return '.' for files at the root, which will cause an Exception that gets logged.
Instead use \Sabre\Uri\split like other sabre plugins, to get an empty string for root directory.

Checklist

dirname will return '.' for files at the root, which will cause an
 Exception that gets logged.
Instead use \Sabre\Uri\split like other sabre plugins, to get an empty
 string for root directory.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc added this to the Nextcloud 32 milestone Aug 25, 2025
@come-nc come-nc requested a review from leftybournes August 25, 2025 14:40
@come-nc come-nc self-assigned this Aug 25, 2025
@come-nc come-nc added the 3. to review Waiting for reviews label Aug 25, 2025
@come-nc come-nc marked this pull request as ready for review August 25, 2025 16:00
@come-nc come-nc requested a review from a team as a code owner August 25, 2025 16:00
@come-nc come-nc requested review from Altahrim and icewind1991 and removed request for a team August 25, 2025 16:00
@come-nc come-nc merged commit d18b10c into master Aug 26, 2025
216 of 222 checks passed
@come-nc come-nc deleted the fix/fix-trashbin-plugin-dot-not-allowed branch August 26, 2025 06:34
@solracsf
Copy link
Member

Since #52752 has been backported, should this one be backported too?

@come-nc
Copy link
Contributor Author

come-nc commented Aug 28, 2025

/backport to stable31

@come-nc
Copy link
Contributor Author

come-nc commented Aug 28, 2025

/backport to stable30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants