Skip to content

Commit e8a296d

Browse files
committed
Update User Guide
1 parent 080e9c1 commit e8a296d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

changelogs/v4.6.2.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ <h2><a class="toc-backref" href="#id5" role="doc-backlink">Bugs Fixed</a><a clas
327327
<ul class="simple">
328328
<li><p><strong>Cache:</strong> Fixed a bug where a corrupted or unreadable cache file could cause an unhandled exception in <code class="docutils literal notranslate"><span class="pre">FileHandler::getItem()</span></code>.</p></li>
329329
<li><p><strong>Database:</strong> Fixed a bug where <code class="docutils literal notranslate"><span class="pre">when()</span></code> and <code class="docutils literal notranslate"><span class="pre">whenNot()</span></code> in <code class="docutils literal notranslate"><span class="pre">ConditionalTrait</span></code> incorrectly evaluated certain falsy values (such as <code class="docutils literal notranslate"><span class="pre">[]</span></code>, <code class="docutils literal notranslate"><span class="pre">0</span></code>, <code class="docutils literal notranslate"><span class="pre">0.0</span></code>, and <code class="docutils literal notranslate"><span class="pre">'0'</span></code>) as truthy, causing callbacks to be executed unexpectedly. These methods now cast the condition to a boolean using <code class="docutils literal notranslate"><span class="pre">(bool)</span></code> to ensure consistent behavior with PHP’s native truthiness.</p></li>
330+
<li><p><strong>Email:</strong> Fixed a bug where <code class="docutils literal notranslate"><span class="pre">Email::getHostname()</span></code> failed to use <code class="docutils literal notranslate"><span class="pre">$_SERVER['SERVER_ADDR']</span></code> when <code class="docutils literal notranslate"><span class="pre">$_SERVER['SERVER_NAME']</span></code> was not set.</p></li>
330331
<li><p><strong>Security:</strong> Fixed a bug where the <code class="docutils literal notranslate"><span class="pre">sanitize_filename()</span></code> function from the Security helper would throw an error when used in CLI requests.</p></li>
331332
<li><p><strong>Session:</strong> Fixed a bug where using the <code class="docutils literal notranslate"><span class="pre">DatabaseHandler</span></code> with an unsupported database driver (such as <code class="docutils literal notranslate"><span class="pre">SQLSRV</span></code>, <code class="docutils literal notranslate"><span class="pre">OCI8</span></code>, or <code class="docutils literal notranslate"><span class="pre">SQLite3</span></code>) did not throw an appropriate error.</p></li>
332333
</ul>

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)