-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Don't create default browser group #3127
Merged
droidmonkey
merged 1 commit into
keepassxreboot:release/2.4.2
from
varjolintu:hotfix/dont_create_default_browser_group
May 19, 2019
Merged
Don't create default browser group #3127
droidmonkey
merged 1 commit into
keepassxreboot:release/2.4.2
from
varjolintu:hotfix/dont_create_default_browser_group
May 19, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
louib
approved these changes
May 7, 2019
droidmonkey
requested changes
May 7, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was looking at this code and had the following thoughts:
- For a custom group request, we try to find the group by UUID, then we compare the found group by the passed name. I don't know why that even matters at this point, the UUID is all that matters.
- If the custom group is not found in this stage the entry is silently discarded. We should create the custom group similar to the default group if it is not found.
- The function name "findCreateAddEntryGroup" is ridiculous. Recommend changing to "getDefaultEntryGroup" and remove the "TODO" that is in that function.
varjolintu
force-pushed
the
hotfix/dont_create_default_browser_group
branch
from
May 8, 2019 05:03
149f8d0
to
598bdff
Compare
@droidmonkey I agree with the changes. And those are now made. |
droidmonkey
approved these changes
May 8, 2019
droidmonkey
added a commit
that referenced
this pull request
May 31, 2019
- Improve resilience against memory attacks - overwrite memory before free [#3020] - Prevent infinite save loop when location is unavailable [#3026] - Attempt to fix quitting application when shutdown or logout issued [#3199] - Support merging database custom data [#3002] - Fix opening URL's with non-http schemes [#3153] - Fix data loss due to not reading all database attachments if duplicates exist [#3180] - Fix entry context menu disabling when using keyboard navigation [#3199] - Fix behaviors when canceling an entry edit [#3199] - Fix processing of tray icon click and doubleclick [#3112] - Update group in preview widget when focused [#3199] - Prefer DuckDuckGo service over direct icon download (increases resolution) [#2996] - Remove apply button in application settings [#3019] - Use winqtdeploy on Windows to correct deployment issues [#3025] - Don't mark entry edit as modified when attribute selection changes [#3041] - Use console code page CP_UTF8 on Windows if supported [#3050] - Snap: Fix locking database with session lock [#3046] - Snap: Fix theming across Linux distributions [#3057] - Snap: Use SNAP_USER_COMMON and SNAP_USER_DATA directories [#3131] - KeeShare: Automatically enable WITH_XC_KEESHARE_SECURE if quazip is found [#3088] - macOS: Fix toolbar text when in dark mode [#2998] - macOS: Lock database on switching user [#3097] - macOS: Fix global Auto-Type when the database is locked [#3138] - Browser: Close popups when database is locked [#3093] - Browser: Add tests [#3016] - Browser: Don't create default group if custom group is enabled [#3127]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Default browser password group is not created if the group is set to something else.
Type of change
Description and Context
Fixes #3119.
A possible fix to the extension side is also needed because if Root group has not groups, the default group will be still generated.
Testing strategy
Manually.
Checklist:
-DWITH_ASAN=ON
. [REQUIRED]