Skip to content

Commit

Permalink
fix(protocol): set_login should not restrict url as any value is acce…
Browse files Browse the repository at this point in the history
…ptable in keepass.
  • Loading branch information
iarp committed Sep 26, 2022
1 parent a06cb38 commit 2767914
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions keepassxc_browser/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,6 @@ def get_logins(self, identity, url, submit_url=None, http_auth=None):
def set_login(
self, identity, url, login=None, password=None, entry_id=None, submit_url=None
):
if not (url.startswith('mailto:') or url.startswith('https:')):
raise Exception('Url needs to start with "mailto:" or "https:"')
action = 'set-login'
message = create_message(action, id=identity.associated_name, url=url)

Expand Down

0 comments on commit 2767914

Please sign in to comment.