mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Pass full URL
This commit is contained in:
parent
1ef4543f95
commit
050b6541b6
1 changed files with 3 additions and 3 deletions
|
|
@ -1035,7 +1035,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
|
||||
|
|
@ -1310,10 +1310,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