Skip to content

fix: Fix explode calls for path parsing#760

Merged
Altahrim merged 2 commits into
masterfrom
fix/fix-backup-when-nextcloud-app
May 28, 2026
Merged

fix: Fix explode calls for path parsing#760
Altahrim merged 2 commits into
masterfrom
fix/fix-backup-when-nextcloud-app

Conversation

@come-nc
Copy link
Copy Markdown
Collaborator

@come-nc come-nc commented May 28, 2026

Always pass a limit of 2 when using explode in this way avoids bugs when
the path contains several times the delimiter by chance.

Always pass a limit of 2 when using explode in this way avoids bugs when
 the path contains several times the delimiter by chance.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc self-assigned this May 28, 2026
@come-nc come-nc requested review from Altahrim and skjnldsv as code owners May 28, 2026 09:10
@come-nc come-nc force-pushed the fix/fix-backup-when-nextcloud-app branch from 4801e2a to bdd92c2 Compare May 28, 2026 09:44
…sion

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc force-pushed the fix/fix-backup-when-nextcloud-app branch from bdd92c2 to 7f35d6f Compare May 28, 2026 10:29
@come-nc
Copy link
Copy Markdown
Collaborator Author

come-nc commented May 28, 2026

The failing test is unrelated I believe.

UnexpectedValueException: The files of the app "related_resources" were not correctly replaced before running the update

I had this failure locally as well recently, but I believe it needs to be fixed in the app.

@Altahrim
Copy link
Copy Markdown
Collaborator

I can confirm issue is unrelated.
I tracked missing PRs here: #755 (comment)
Only one left for now

@Altahrim Altahrim merged commit 7edb33f into master May 28, 2026
19 of 22 checks passed
@Altahrim Altahrim deleted the fix/fix-backup-when-nextcloud-app branch May 28, 2026 12:48
@come-nc
Copy link
Copy Markdown
Collaborator Author

come-nc commented May 28, 2026

/backport to stable34

@come-nc
Copy link
Copy Markdown
Collaborator Author

come-nc commented May 28, 2026

/backport to stable33

@come-nc
Copy link
Copy Markdown
Collaborator Author

come-nc commented May 28, 2026

/backport to stable32

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copy error when trying to update 32.0.5 -> 32.0.6

3 participants