Skip to content

Commit 75b4e20

Browse files
committed
Update User Guide
1 parent 807f2d6 commit 75b4e20

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

changelogs/v4.7.2.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,9 @@ <h1>Version 4.7.2<a class="headerlink" href="#version-4-7-2" title="Link to this
302302
<section id="bugs-fixed">
303303
<h2><a class="toc-backref" href="#id1" role="doc-backlink">Bugs Fixed</a><a class="headerlink" href="#bugs-fixed" title="Link to this heading"></a></h2>
304304
<ul class="simple">
305-
<li><dl class="simple">
306-
<dt><strong>Security:</strong> Fixed a bug where the CSRF filter could corrupt JSON request bodies after successful</dt><dd><p>verification when the CSRF token was provided via the <code class="docutils literal notranslate"><span class="pre">X-CSRF-TOKEN</span></code> header.
307-
This caused <code class="docutils literal notranslate"><span class="pre">IncomingRequest::getJSON()</span></code> to fail on valid <code class="docutils literal notranslate"><span class="pre">application/json</span></code> requests.</p>
308-
</dd>
309-
</dl>
310-
</li>
305+
<li><p><strong>Security:</strong> Fixed a bug where the CSRF filter could corrupt JSON request bodies after successful
306+
verification when the CSRF token was provided via the <code class="docutils literal notranslate"><span class="pre">X-CSRF-TOKEN</span></code> header.
307+
This caused <code class="docutils literal notranslate"><span class="pre">IncomingRequest::getJSON()</span></code> to fail on valid <code class="docutils literal notranslate"><span class="pre">application/json</span></code> requests.</p></li>
311308
</ul>
312309
<p>See the repo’s
313310
<a class="reference external" href="https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md">CHANGELOG.md</a>

changelogs/v4.7.3.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -315,12 +315,9 @@ <h2><a class="toc-backref" href="#id2" role="doc-backlink">Message Changes</a><a
315315
<section id="changes">
316316
<h2><a class="toc-backref" href="#id3" role="doc-backlink">Changes</a><a class="headerlink" href="#changes" title="Link to this heading"></a></h2>
317317
<ul class="simple">
318-
<li><dl class="simple">
319-
<dt><strong>Commands:</strong> The <code class="docutils literal notranslate"><span class="pre">-h</span></code> option for the <code class="docutils literal notranslate"><span class="pre">routes</span></code> command is renamed to <code class="docutils literal notranslate"><span class="pre">--sort-by-handler</span></code> to avoid conflict with the common use of <code class="docutils literal notranslate"><span class="pre">-h</span></code> as a shortcut for <code class="docutils literal notranslate"><span class="pre">--help</span></code>.</dt><dd><p>The old <code class="docutils literal notranslate"><span class="pre">-h</span></code> option will continue to work until v4.8.0, at which point it will be removed and repurposed as a shortcut for <code class="docutils literal notranslate"><span class="pre">--help</span></code>.
320-
A warning message is displayed when using the old <code class="docutils literal notranslate"><span class="pre">-h</span></code> option to encourage users to switch to the new <code class="docutils literal notranslate"><span class="pre">--sort-by-handler</span></code> option.</p>
321-
</dd>
322-
</dl>
323-
</li>
318+
<li><p><strong>Commands:</strong> The <code class="docutils literal notranslate"><span class="pre">-h</span></code> option for the <code class="docutils literal notranslate"><span class="pre">routes</span></code> command is renamed to <code class="docutils literal notranslate"><span class="pre">--sort-by-handler</span></code> to avoid conflict with the common use of <code class="docutils literal notranslate"><span class="pre">-h</span></code> as a shortcut for <code class="docutils literal notranslate"><span class="pre">--help</span></code>.
319+
The old <code class="docutils literal notranslate"><span class="pre">-h</span></code> option will continue to work until v4.8.0, at which point it will be removed and repurposed as a shortcut for <code class="docutils literal notranslate"><span class="pre">--help</span></code>.
320+
A warning message is displayed when using the old <code class="docutils literal notranslate"><span class="pre">-h</span></code> option to encourage users to switch to the new <code class="docutils literal notranslate"><span class="pre">--sort-by-handler</span></code> option.</p></li>
324321
</ul>
325322
</section>
326323
<section id="deprecations">

0 commit comments

Comments
 (0)