Add support for URL wildcards and exact URL#9835
Add support for URL wildcards and exact URL#9835droidmonkey merged 3 commits intokeepassxreboot:developfrom
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
TODO: Check if using https://doc.qt.io/qt-6/qregularexpression.html#wildcardToRegularExpression is preferred after Qt6 upgrade. Qt5 does not support |
|
Oh nice that will likely replace one of our tools functions. |
229704d to
9ab03a5
Compare
029f28a to
590cd3c
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
62f2a34 to
c34d1bd
Compare
|
@varjolintu I messed around with this a little and I think the invalid URL tester still needs some work: |
* Add support for URL wildcards with Additional URL feature * Only check TLD if wildcard is used * Avoid using network function in no-feature build --------- Co-authored-by: varjolintu <sami.vanttinen@ahmala.org> Co-authored-by: Jonathan White <support@dmapps.us>
|
@droidmonkey I'll make a quick fix to it. |
* Add support for URL wildcards with Additional URL feature * Only check TLD if wildcard is used * Avoid using network function in no-feature build --------- Co-authored-by: varjolintu <sami.vanttinen@ahmala.org> Co-authored-by: Jonathan White <support@dmapps.us>
|
@leventov You can use |
|
@varjolintu doesn't work for me. "Error no logins found" when I press the KeePassXC icon inside the Email field on the login page in my-random-subdomain.vercel.app. |
|
You probably denied access at some point. Go to the properties page of the entry and look for any custom data for browser remove it if it's there |
|
@droidmonkey no properties it seems:
|
|
Did you disable access to browser from the group or entry level? What is the exact error message in browser? You chopped off the domain portion. Wondering if this is an odd ball iframe issue. |
|
@droidmonkey no, and other entries in this group do work in the browser. Are you sure if I specify |
|
The exact error message is No iframes are involved, these are just regular Vercel Preview deployments |
Does |
|
Very odd but I can absolutely replicate this problem on 2.7.10. Have not tried develop branch yet. Here is a good test site to use: https://your-app.vercel.app/ |
So it seems. The exact URL works, but not the domain one. Develop branch doesn't work either. It fails to the EDIT: The TLD check does not handle that URL correctly. Instead of However, if I put |
|
Might need a hardcoded exception here. We should also be flagging this one as "TLD Only" in the UI, not sure why that wasn't caught. Based on the Qt list this would be equivalent to having a url of |




Adds support for URL wildcards and exact URL if the address is wrapped insinde
"e.g."https://example.com/page.php". Without wildcards, URL's are handled normally with the old/current implementation.This feature is restricted to Additional URLs only, because storing URLs in wildcard form is not recommended, and it breaks the possibility to open the URL to a browser.
The wildcards can be used freely, and some example addresses are:
https://*.example.com/page/*https://192.*.168.1/subdomain.of.*.example.com/page/*/loginFixes #3718.
Testing strategy
Manually, and added automatic tests.
Type of change