mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #904 from keepassxreboot/fix/pass_full_url
Pass full URL
This commit is contained in:
commit
6c9c37d08e
1 changed files with 3 additions and 3 deletions
|
|
@ -1056,7 +1056,7 @@ kpxc.initCredentialFields = async function(forceCall, inputs) {
|
|||
return;
|
||||
}
|
||||
|
||||
kpxc.url = document.location.origin;
|
||||
kpxc.url = document.location.href;
|
||||
kpxc.submitUrl = kpxc.getFormActionUrl(kpxcFields.combinations[0]);
|
||||
|
||||
// Get submitUrl for a single input
|
||||
|
|
@ -1347,10 +1347,10 @@ kpxc.fillInCredentials = async function(combination, onlyPassword, suppressWarni
|
|||
kpxc.p = p;
|
||||
}
|
||||
|
||||
if (kpxc.url === document.location.origin && kpxc.submitUrl === action && kpxc.credentials.length > 0) {
|
||||
if (kpxc.url === document.location.href && kpxc.submitUrl === action && kpxc.credentials.length > 0) {
|
||||
kpxc.fillIn(combination, onlyPassword, suppressWarnings);
|
||||
} else {
|
||||
kpxc.url = document.location.origin;
|
||||
kpxc.url = document.location.href;
|
||||
kpxc.submitUrl = action;
|
||||
|
||||
const credentials = await browser.runtime.sendMessage({
|
||||
|
|
|
|||
Loading…
Reference in a new issue