Skip to content

fix(UI): validate E2EE file names - #10238

Merged
mgallien merged 5 commits into
masterfrom
bugfix/E2eeFolder
Jul 9, 2026
Merged

fix(UI): validate E2EE file names#10238
mgallien merged 5 commits into
masterfrom
bugfix/E2eeFolder

Conversation

@Rello

@Rello Rello commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Make FolderMetadata enforce that every decrypted E2EE filename is a single path segment before it can enter discovery.

@Rello Rello self-assigned this Jun 24, 2026
@Rello Rello changed the title fix(UI): Make FolderMetadata enforce that every decrypted E2EE filena… fix(UI): validate E2EE file names Jun 24, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 68c082fe76

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/libsync/foldermetadata.cpp Outdated

@mgallien mgallien left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one request for change
the automated tests for encryption are failing and would need to pass

Comment thread src/libsync/propagateuploadencrypted.cpp Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 09e3864fab

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/libsync/foldermetadata.cpp

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b05f17b43a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/libsync/propagateuploadencrypted.cpp

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7d5f09a366

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread test/testclientsideencryptionv2.cpp Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bb4090fc25

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/libsync/propagateuploadencrypted.cpp
Rello added 2 commits July 9, 2026 11:15
…me is a single path segment before it can enter discovery.

Signed-off-by: Rello <[email protected]>
@mgallien
mgallien force-pushed the bugfix/E2eeFolder branch from bb4090f to ea075bf Compare July 9, 2026 09:33
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Artifact containing the AppImage: nextcloud-appimage-pr-10238.zip

Digest: sha256:f467b8c4a36662386e7e23fb1278b1cb9e46825a5649f017fbe92fb2050a5fb9

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarqubecloud

sonarqubecloud Bot commented Jul 9, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
36.8% Coverage on New Code (required ≥ 80%)
69 New Code Smells (required ≤ 0)
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

💡 Need a hand with PR review? Try Gitar by Sonar!

Rello and others added 3 commits July 9, 2026 17:40
Removed file deletion logic for non-directory uploads.

Signed-off-by: Rello <[email protected]>
@mgallien
mgallien force-pushed the bugfix/E2eeFolder branch from ea075bf to 15c505d Compare July 9, 2026 15:40
@mgallien
mgallien enabled auto-merge July 9, 2026 15:40
@mgallien mgallien added this to the 35.0.0 milestone Jul 9, 2026
@mgallien

mgallien commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

/backport to stable-34.0 please

@mgallien

mgallien commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

/backport to stable-33.0 please

@mgallien
mgallien merged commit 6a18f5a into master Jul 9, 2026
20 of 21 checks passed
@mgallien
mgallien deleted the bugfix/E2eeFolder branch July 9, 2026 16:59
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.

2 participants