Custom Query (2449 matches)


Show under each result:

Results (100 - 102 of 2449)

Ticket Resolution Summary Owner Reporter
#2269 Invalid Webui's default_daemon not working on master damoxc Prodec

I've set "default_daemon": "" to web.conf, but still webui isn't connecting to daemon by default.

#3260 Fixed web ui reverse proxy crash ajslater

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/ in process
189        try:
190            resrc =
191            if resource._IEncodingResource.providedBy(resrc):
/usr/lib/python3/dist-packages/twisted/web/ in getResourceFor
825        request.sitepath = copy.copy(request.prepath)
826        return resource.getChildForRequest(self.resource, request)
/usr/lib/python3/dist-packages/twisted/web/ in getChildForRequest
97        request.prepath.append(pathElement)
98        resource = resource.getChildWithDefault(pathElement, request)
99    return resource
/usr/lib/python3/dist-packages/deluge/ui/web/ in getChildWithDefault
579        if base[0] != '/':
580            base = '/' + base
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:

its returning bytes and not str. Bytes are what's what's specified in the twisted docs:

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.

#2836 Invalid webui returns blank page when used with --base mbaran

This is in reference to closed ticket

I am running latest develop branch which includes the commits to fix this issue.

When configured as such (using --base or setting base in web.conf) I get nothing but a blank page when browsing to the web site.

I've tested the site in IE, FF, Chrome, and Edge, all have the same issue.

I can privately provide a URL which is publicly accessible for verification.

Note: See TracQuery for help on using queries.