Merge pull request #7123 from pylbrecht/bitwarden-userscript-url-matching

Fix qute-bitwarden userscript URL matching for multi level subdomains

The qute-bitwarden userscript is not able to autofill for a multi-level subdomain URLs (e.g. `http://my.sub.domain.local/`).
qute-bitwarden exits with status code 2 and returns the following on stderr:
```
No pass candidates for URL 'http://my.sub.domain.local/' found!
```
Joining the extracted subdomain and domain with a `.` solves the issue.
This commit is contained in:
Jimmy 2022-04-25 14:37:11 +12:00
commit 6250cda2e1
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ def main(arguments):
for target in filter(None, [
extract_result.fqdn,
extract_result.registered_domain,
extract_result.subdomain + extract_result.domain,
extract_result.subdomain + '.' + extract_result.domain,
extract_result.domain,
extract_result.ipv4]):
target_candidates = json.loads(