Skip to content

Commit 75a3a6a

Browse files
committed
Object ID validation.
1 parent 4c0f763 commit 75a3a6a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/wp-includes/collaboration/class-wp-http-polling-collaboration-server.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ public function register_routes(): void {
153153
),
154154
'client_id' => array(
155155
'minimum' => 1,
156+
'maximum' => str_repeat( '9', 32 ), // Max 32-digit integer (avoids PHP_INT_MAX).
156157
'required' => true,
157158
'type' => 'integer',
158159
),

0 commit comments

Comments
 (0)