Skip to content

Commit 684a374

Browse files
committed
2026-06-13T2358Z
1 parent 4534557 commit 684a374

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
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

Source/game_config/structure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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):

Source/web_server/_logic.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import enum
44
import functools
55
import http.server
6+
import ipaddress
67
import json
78
import re
89
import 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)

0 commit comments

Comments
 (0)