#3079 closed bug (Fixed)
Error using curly braces in password
Reported by: | https403 | Owned by: | Cas |
---|---|---|---|
Priority: | minor | Milestone: | Future |
Component: | GTK UI | Version: | 1.3.15 |
Keywords: | Cc: |
Description
Deluge-gtk will split out a python error, ignore all known host in connection manager and connect to localhost if the password field contains symbols, the password I put to test is Chaef}i2boo(fei?.
Steps to reproduce:
- start deluge daemon and enable remote in a remote machine
- add user with a password include symbols
- start deluge-gtk in console, and add the host with username and password
- reopen deluge-gtk
- deluge-gtk return a python error in console, and connection manager will only have localhost
Python Error:
Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 417, in fireEvent DeferredList(beforeResults).addCallback(self._continueFiring) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 317, in addCallback callbackKeywords=kw) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 306, in addCallbacks self._runCallbacks() File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 588, in _runCallbacks current.result = callback(current.result, *args, **kw) --- <exception caught here> --- File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 430, in _continueFiring callable(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 385, in _on_reactor_start self.__start_non_classic() File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/gtkui.py", line 430, in __start_non_classic self.connectionmanager.show() File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/connectionmanager.py", line 182, in show self.__save_hostlist() File "/usr/lib/python2.7/dist-packages/deluge/ui/gtkui/connectionmanager.py", line 239, in __save_hostlist self.config.save() File "/usr/lib/python2.7/dist-packages/deluge/config.py", line 416, in save loaded_data = json.loads(data[start:end]) File "/usr/lib/python2.7/json/__init__.py", line 339, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode obj, end = self.scan_once(s, idx) exceptions.ValueError: Unterminated string starting at: line 8 column 7 (char 132)
Change History (3)
comment:1 Changed 6 years ago by Cas
- Milestone changed from needs verified to 1.3.16
- Owner set to Cas
- Status changed from new to assigned
- Summary changed from String Phrasing Error in Password Field to Error using curly braces in password
comment:2 Changed 6 years ago by Cas
- Resolution set to Fixed
- Status changed from assigned to closed
comment:3 Changed 22 months ago by Cas
- Milestone changed from 1.3.16 to Future
Ticket retargeted after milestone deleted
Note: See
TracTickets for help on using
tickets.
Thanks for detailed report.
Fixed 1.3: [6d14be18b0] develop: [33e9545cd44]