Skip to content

Commit 080e9c1

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

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
@@ -325,6 +325,7 @@ <h2><a class="toc-backref" href="#id4" role="doc-backlink">Deprecations</a><a cl
325325
<section id="bugs-fixed">
326326
<h2><a class="toc-backref" href="#id5" role="doc-backlink">Bugs Fixed</a><a class="headerlink" href="#bugs-fixed" title="Permalink to this heading"></a></h2>
327327
<ul class="simple">
328+
<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>
328329
<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>
329330
<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>
330331
<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>

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)