File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33- feat: players can be held in loading screen until RCC first calls ` /rfd/data-transfer `
44- feat(config): add ` game_setup.ready_delay_sec ` to delay clients further
5+ - build: update dependencies to ensure existence with pre-compiled Python 3.14 wheels for Windows
6+
7+ # 0.66.3
8+
9+ - fix: load homepage in v463 Studio
510
611# 0.66.2
712
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ class persistence(allocateable.obj_type):
3737 # Don't count too much on 2021E.
3838 # I really recommend that people manually specify which version of Rōblox they want to run.
3939 roblox_version : util .versions .rōblox = util .versions .rōblox .v463
40+
4041 ready_delay_sec : float = 3
4142
4243 class server_core (allocateable .obj_type ):
Original file line number Diff line number Diff line change 33import enum
44import functools
55import http .server
6+ import ipaddress
67import json
78import re
89import socket
@@ -192,8 +193,10 @@ def parse_request(self) -> bool:
192193 self .game_config = self .server .game_config
193194
194195 # Some endpoints should only allow the RCC to do stuff.
196+ # Trust the peer socket address, not the user-controlled Host header.
195197 # TODO: use a proper allow-listing system.
196- self .is_privileged = self .domain == 'localhost'
198+ self .is_privileged = ipaddress .ip_address (
199+ self .client_address [0 ]).is_loopback
197200
198201 self .url = f'{ self .hostname } { self .path } '
199202 assert isinstance (self .url , str )
You can’t perform that action at this time.
0 commit comments