mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
handle @ characters in the address
This commit is contained in:
parent
714db0f5a1
commit
78f90a0f26
1 changed files with 4 additions and 0 deletions
|
@ -72,6 +72,8 @@ class Plugin(BasePlugin):
|
|||
return False
|
||||
url = str(self.win.payto_e.toPlainText())
|
||||
|
||||
url = url.replace('@', '.')
|
||||
|
||||
if not '.' in url:
|
||||
return False
|
||||
else:
|
||||
|
@ -144,6 +146,8 @@ class Plugin(BasePlugin):
|
|||
|
||||
url = str(line1.text())
|
||||
|
||||
url = url.replace('@', '.')
|
||||
|
||||
if not '.' in url:
|
||||
QMessageBox.warning(self.win, _('Error'), _('Invalid URL'), _('OK'))
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue