Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable-3.10] Prevent empty password being passed into share creation #6107

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

tobiasKaminsky
Copy link
Member

We already generate a new password when the share password dialog is created, so there is really no need to clear the field when it closes. This prevents the field being cleared before the password is sent into the C++ code, leading to no password actually being sent to the server

We already generate a new password when the share password dialog is
created, so there is really no need to clear the field when it closes.
This prevents the field being cleared before the password is sent into
the C++ code, leading to no password actually being sent to the server

Signed-off-by: Claudio Cambra <[email protected]>
@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

Merging #6107 (608452b) into stable-3.10 (3b99fd5) will decrease coverage by 0.30%.
Report is 1 commits behind head on stable-3.10.
The diff coverage is n/a.

Additional details and impacted files
@@               Coverage Diff               @@
##           stable-3.10    #6107      +/-   ##
===============================================
- Coverage        60.62%   60.33%   -0.30%     
===============================================
  Files              145      145              
  Lines            18793    18793              
===============================================
- Hits             11394    11338      -56     
- Misses            7399     7455      +56     

see 11 files with indirect coverage changes

@sonarcloud
Copy link

sonarcloud bot commented Sep 29, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@claucambra claucambra changed the title Prevent empty password being passed into share creation [stable-3.10] Prevent empty password being passed into share creation Oct 2, 2023
@mgallien mgallien enabled auto-merge October 3, 2023 07:39
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-6107-608452b3ecc717c5d7409660e881a3be536954ac-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

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

@mgallien mgallien merged commit 1e1a933 into stable-3.10 Oct 3, 2023
19 checks passed
@mgallien mgallien deleted the bugfix/backport/6100 branch October 3, 2023 13:22
@mgallien mgallien added this to the 3.10.2 milestone Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants