Skip to content

Commit 4288674

Browse files
committed
add imap.enable_insecure_rsh in php.ini
1 parent 9b8f241 commit 4288674

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

php.ini-development

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -975,6 +975,13 @@ cli_server.color = On
975975
; otherwise output encoding conversion cannot be performed.
976976
;iconv.output_encoding =
977977

978+
[imap]
979+
; rsh/ssh logins are disabled by default. Use this INI entry if you want to
980+
; enable them. Note that the IMAP library does not filter mailbox names before
981+
; passing them to rsh/ssh command, thus passing untrusted data to this function
982+
; with rsh/ssh enabled is insecure.
983+
;imap.enable_insecure_rsh=0
984+
978985
[intl]
979986
;intl.default_locale =
980987
; This directive allows you to produce PHP errors when some error

php.ini-production

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -975,6 +975,13 @@ cli_server.color = On
975975
; otherwise output encoding conversion cannot be performed.
976976
;iconv.output_encoding =
977977

978+
[imap]
979+
; rsh/ssh logins are disabled by default. Use this INI entry if you want to
980+
; enable them. Note that the IMAP library does not filter mailbox names before
981+
; passing them to rsh/ssh command, thus passing untrusted data to this function
982+
; with rsh/ssh enabled is insecure.
983+
;imap.enable_insecure_rsh=0
984+
978985
[intl]
979986
;intl.default_locale =
980987
; This directive allows you to produce PHP errors when some error

0 commit comments

Comments
 (0)