File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -166,6 +166,9 @@ function check_aikotoba(): bool {
166166function adminpost (): void {
167167 global $ second_pass ,$ en ;
168168
169+ //Fetch API以外からのPOSTを拒否
170+ check_post_via_javascript ();
171+
169172 check_same_origin ();
170173 check_password_input_error_count ();
171174 session_sta ();
@@ -187,6 +190,9 @@ function adminpost(): void {
187190function admin_del (): void {
188191 global $ second_pass ,$ en ;
189192
193+ //Fetch API以外からのPOSTを拒否
194+ check_post_via_javascript ();
195+
190196 check_same_origin ();
191197 check_password_input_error_count ();
192198
Original file line number Diff line number Diff line change 11<?php
22//Petit Note (c)さとぴあ @satopian 2021-2025
33//1スレッド1ログファイル形式のスレッド式画像掲示板
4- $ petit_ver ='v1.87.1 ' ;
5- $ petit_lot ='lot.20250522 ' ;
4+ $ petit_ver ='v1.87.2 ' ;
5+ $ petit_lot ='lot.20250523 ' ;
66
77$ lang = ($ http_langs = $ _SERVER ['HTTP_ACCEPT_LANGUAGE ' ] ?? '' )
88 ? explode ( ', ' , $ http_langs )[0 ] : '' ;
You can’t perform that action at this time.
0 commit comments