Skip to content

mysqli を原文の変更に追従 (2ファイル) - #542

Merged
KentarouTakeda merged 1 commit into
php:masterfrom
KentarouTakeda:sync-mysqli-quote-string
Oct 12, 2026
Merged

KentarouTakeda merged 1 commit into
php:masterfrom
KentarouTakeda:sync-mysqli-quote-string

Conversation

@KentarouTakeda

Copy link
Copy Markdown
Collaborator

原文の php/doc-en#5908(php/doc-en@01175bf)で、PHP 8.6 で追加される mysqli::quote_string() のページが新設され、mysqli::real_escape_string() のページに、結果をクォートで囲まないことと、NO_BACKSLASH_ESCAPES SQL モードでは値をダブルクォートで囲むと SQL インジェクションにつながるおそれがあることの警告が加わったので、これに追従しました。これで mysqli モジュールの未訳・要更新はなくなります。

対象ファイル

更新(1件)

reference/mysqli/ (1) — mysqli/real-escape-string.xml

新規(1件)

reference/mysqli/ (1) — mysqli/quote-string.xml

@KentarouTakeda
KentarouTakeda force-pushed the sync-mysqli-quote-string branch 2 times, most recently from 151602c to e45d887 Compare October 11, 2026 14:41
@KentarouTakeda
KentarouTakeda force-pushed the sync-mysqli-quote-string branch from e45d887 to 65dba42 Compare October 12, 2026 05:49
@KentarouTakeda
KentarouTakeda merged commit d2c9f61 into php:master Oct 12, 2026
2 checks passed
@KentarouTakeda
KentarouTakeda deleted the sync-mysqli-quote-string branch October 12, 2026 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant