Custom Query (2401 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (31 - 33 of 2401)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Ticket Resolution Summary Owner Reporter
#1715 Fixed AddTorrentsDialog does not display the filename updates when switching between multiple torrents Cas aguenter
Description

Hope this isn't a dupe, but if it is my search-fu failed me...my apologies.

In the 1.3.1 GTK UI it is impossible to change the path structure of more than one torrent when adding multiple torrents at a time. After making changes to a directory or file name in a torrent's path structure, selecting a different torrent in the torrents list will cause those changes to be discarded.

#1104 Fixed charmap' codec can't decode byte problem in 1.2.0-rc4 aim
Description

Deluge 1.2.0-rc from ubuntu ppa give "'charmap' codec can't decode byte 0xfc in position 6: character maps to: <undefined>" erorr message on attached torrent file.

#3260 Fixed web ui reverse proxy crash ajslater
Description

if you access deluge web UI with a reverse proxy header it crashes

web.Server Traceback (most recent call last):
builtins.TypeError: must be str, not bytes
/usr/lib/python3/dist-packages/twisted/web/server.py:190 in process
189        try:
190            resrc = self.site.getResourceFor(self)
191            if resource._IEncodingResource.providedBy(resrc):
/usr/lib/python3/dist-packages/twisted/web/server.py:826 in getResourceFor
825        request.sitepath = copy.copy(request.prepath)
826        return resource.getChildForRequest(self.resource, request)
827
/usr/lib/python3/dist-packages/twisted/web/resource.py:98 in getChildForRequest
97        request.prepath.append(pathElement)
98        resource = resource.getChildWithDefault(pathElement, request)
99    return resource
/usr/lib/python3/dist-packages/deluge/ui/web/server.py:580 in getChildWithDefault
579        if base[0] != '/':
580            base = '/' + base
581
builtins.TypeError: must be str, not bytes

the base variable type is bytes from the header and not a string which blows up.

When you retrieve the header contents here: https://github.com/deluge-torrent/deluge/blob/develop/deluge/ui/web/server.py#L572

its returning bytes and not str. Bytes are what's what's specified in the twisted docs: https://twistedmatrix.com/documents/current/api/twisted.web.http.Request.html#getHeader

so it might be fixable with casting those bytes to a string or concatenating them another way.

This bug is new as of 2.x.x which makes sense since it looks like webui was refactored some.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Note: See TracQuery for help on using queries.