deps: Update dependency sinatra to v4.2.2 #23
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/sinatra-4.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
4.2.1→4.2.2Release Notes
sinatra/sinatra (sinatra)
v4.2.2Compare Source
Fix: Require a dot before the domain for leading-dot
permitted_hostsinRack::Protection::HostAuthorization.example.orgno longer permits hosts that only end inexample.org, likeevilexample.orgFix: Do not treat a missing
Refereras same-origin whenSec-Fetch-Sitesays the request is cross-site or same-siteRemoteToken,JsonCsrfandRemoteReferrerinRack::Protectionallow_empty_referrerstill defaults totrueFix:
Rack::Protection::CookieTossingno longer rejects all requests after one with duplicate session cookiesDocs: Document that static files are served through symlinks pointing outside
public_folderFix:
Sinatra::QuietLoggerno longer hides requests that are routed outside the quiet prefixes/images/../adminis routed to/admin, so it is now logged even withimagesas a quiet prefixFix: Set
Strict-Transport-SecurityandReferrer-Policyon responses rejected by other protectionsstrict_transportorreferrer_policy, neither is enabled by defaultAuthenticityToken,FormTokenorCookieTossingnow have both headers, those rejected byRemoteReferrerorSessionHijackingnow haveStrict-Transport-Securitydrop_sessionreaction, the default in Sinatra, as it does not reject requestsFix: Run
Rack::Protection::PathTraversalbefore the other protections.or..segments,%2e,%2f,%5c, backslashes or repeated slashesallow_ifmatching/webhooks/[^/]+no longer matches/webhooks/a%2Fb, as it is called with/webhooks/a/ballow_ifofAuthenticityToken,FormToken,HttpOriginandJsonCsrfinstrumenterof the protections that ran beforePathTraversalAuthenticityTokenandFormTokenCookieTossingRemoteToken,XSSHeaderand middleware added withuseFix:
rack-protectionandsinatra-contribused from a path source no longer fail to load afterbundle cache(#2144)Fix: Avoid "method redefined" warnings in
Sinatra::Delegator(#2139)Configuration
📅 Schedule: (in timezone Europe/Helsinki)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.