docs(webui): remove obsolete folder-picker reference
This commit is contained in:
1 parent
8a795b428e
commit
4ca146aef3
1 file changed
+1
-1
@@ -654,7 +654,7 @@ class GatewayHTTPHandler:
|
|||||||
if not self.check_api_token(request):
|
if not self.check_api_token(request):
|
||||||
return _http_error(401, "Unauthorized")
|
return _http_error(401, "Unauthorized")
|
||||||
# A public/reverse-proxied WebUI must never gain access to this machine's
|
# A public/reverse-proxied WebUI must never gain access to this machine's
|
||||||
# SSH agent, private keys or network. Same checks as local folder picking.
|
# SSH agent, private keys or network.
|
||||||
if not (_is_loopback_host(self.config.host)
|
if not (_is_loopback_host(self.config.host)
|
||||||
and _is_local_browser_request(connection, request.headers)):
|
and _is_local_browser_request(connection, request.headers)):
|
||||||
return _http_error(403, "remote_connections_local_only")
|
return _http_error(403, "remote_connections_local_only")
|
||||||
|
|||||||
Reference in new issue
Block a user