dependabot[bot] opened a new pull request, #3: URL: https://github.com/apache/casbin-swift-vapor-authz/pull/3
Bumps [github.com/vapor/vapor](https://github.com/vapor/vapor) from 4.47.0 to 4.90.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/vapor/vapor/releases">github.com/vapor/vapor's releases</a>.</em></p> <blockquote> <h2>4.90.0</h2> <p>⚠️ Security Update ⚠️</p> <p>This release fixes a long standing issue in Vapor's URI parsing if users attempt to parse untrusted input that could lead to potential host spoofing. This was caused by using a C implementation with a <code>uint16_t</code> index with no bounds checking. For more details see the <a href="https://github.com/vapor/vapor/security/advisories/GHSA-r6r4-5pr8-gjcp">security advisory GHSA-qvxg-wjxc-r4gg</a>.</p> <p>This vulnerability has been designated as CVE-2024-21631. Thank you to <a href="https://github.com/baarde">baarde</a> for reporting!</p> <h2>4.89.3 - Fix setting public folder for <code>FileMiddleware</code> when using bundles</h2> <h2>What's Changed</h2> <p>Fix setting public folder for <code>FileMiddleware</code> when using bundles by <a href="https://github.com/grantjbutler"><code>@grantjbutler</code></a> in <a href="https://redirect.github.com/vapor/vapor/issues/3113">#3113</a></p> <blockquote> <p>This PR fixes an issue where, if you provided a subfolder within a bundle’s resources, the wrong path would be provided to the <code>FileMiddleware</code>, causing the resources to not be loaded.</p> <p>For example, given a bundle with the following structure:</p> <pre><code>App.app/ └── Contents/ ├── MacOS/ │ └── App └── Resources/ └── web-app/ └── Public └── index.html </code></pre> <p>If you tried to create an instance of <code>FileMiddleware</code> that tried to use <code>web-app/Public/</code> as the folder to serve files from, <code>FileMiddleware</code> would incorrectly use the resource path of the bundle (<code>App.app/Resources/</code>) instead of the full path to the specified folder (<code>App.app/Resources/web-app/Public/</code>).</p> </blockquote> <h2>New Contributor</h2> <ul> <li><a href="https://github.com/grantjbutler"><code>@grantjbutler</code></a> made their first contribution in <a href="https://redirect.github.com/vapor/vapor/issues/3113">#3113</a> 🎉</li> </ul> <h6><em>This patch was released by <a href="https://github.com/gwynne"><code>@gwynne</code></a></em></h6> <p><strong>Full Changelog</strong>: <a href="https://github.com/vapor/vapor/compare/4.89.2...4.89.3">https://github.com/vapor/vapor/compare/4.89.2...4.89.3</a></p> <h2>4.89.2 - Consistently use the value from <code>X-Request-Id</code> as the request's ID when present</h2> <h2>What's Changed</h2> <p>Consistently use the value from <code>X-Request-Id</code> as the request's ID when present by <a href="https://github.com/baarde"><code>@baarde</code></a> in <a href="https://redirect.github.com/vapor/vapor/issues/3117">#3117</a></p> <blockquote> <h3>Changes</h3> <p>This PR ensures that the Request’s <code>id</code> and the value of the logger’s <code>request-id</code> value are the same.</p> <h3>Motivation</h3> <p>The Request’s <code>id</code> property was added in <a href="https://redirect.github.com/vapor/vapor/issues/2964">#2964</a> to expose the <code>request-id</code> identifier used for logging.</p> <p><a href="https://redirect.github.com/vapor/vapor/issues/3072">#3072</a> changed this behavior. The <code>request-id</code> identifier is now set:</p> </blockquote> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/vapor/vapor/commit/6db3d917b5ce5024a84eb265ef65691383305d70"><code>6db3d91</code></a> Merge pull request from GHSA-r6r4-5pr8-gjcp</li> <li><a href="https://github.com/vapor/vapor/commit/67fe736c37b0ad958b9d248f010cff6c1baa5c3a"><code>67fe736</code></a> Fix setting public folder for <code>FileMiddleware</code> when using bundles (<a href="https://redirect.github.com/vapor/vapor/issues/3113">#3113</a>)</li> <li><a href="https://github.com/vapor/vapor/commit/9c830d4628eb9f3c7b764ebedad757f84ac11052"><code>9c830d4</code></a> Consistently use the value from <code>X-Request-Id</code> as the request's ID when prese...</li> <li><a href="https://github.com/vapor/vapor/commit/00c902ce53f8b00703e2edcd457400fef422c7fd"><code>00c902c</code></a> Fix encoding and decoding of HTTPHeaders (<a href="https://redirect.github.com/vapor/vapor/issues/3116">#3116</a>)</li> <li><a href="https://github.com/vapor/vapor/commit/3d62c0c3a42d155c2129682432863f4bd7a642b0"><code>3d62c0c</code></a> Add fully async entrypoints (<a href="https://redirect.github.com/vapor/vapor/issues/3114">#3114</a>)</li> <li><a href="https://github.com/vapor/vapor/commit/c710b8f4412aaa69ab03e77b4be27ce799f5fc1e"><code>c710b8f</code></a> Bring back AsyncCommands (<a href="https://redirect.github.com/vapor/vapor/issues/3109">#3109</a>)</li> <li><a href="https://github.com/vapor/vapor/commit/da9c2805b1b93751b1922bbbf343aa120e9942c8"><code>da9c280</code></a> General warnings and tests cleanup (<a href="https://redirect.github.com/vapor/vapor/issues/3107">#3107</a>)</li> <li><a href="https://github.com/vapor/vapor/commit/1aeeaafb0099a9c9372916ca2ff74f197d26b36c"><code>1aeeaaf</code></a> Add public initializer for <code>XCTHTTPRequest</code> (<a href="https://redirect.github.com/vapor/vapor/issues/3106">#3106</a>)</li> <li><a href="https://github.com/vapor/vapor/commit/37942ff102692a14e797c196bd12b4784857fb6e"><code>37942ff</code></a> [skip ci] Update dependabot.yml</li> <li><a href="https://github.com/vapor/vapor/commit/0ca3ce3a0bbed48b8ea75b351c4cc3d586b41423"><code>0ca3ce3</code></a> [skip ci] Fixup sponsors workflow</li> <li>Additional commits viewable in <a href="https://github.com/vapor/vapor/compare/4.47.0...4.90.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/casbin-swift-vapor-authz/network/alerts). </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
