handle @ characters in the address
This commit is contained in:
parent
714db0f5a1
commit
78f90a0f26
|
@ -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…
Reference in New Issue