Skip to content

Update http-concat to upstream b5c28eea97aca9205ba65048d8f8b1f9e54a6d60#6108

Merged
rinatkhaziev merged 2 commits intodevelopfrom
update/http-concat-b5c28eea97aca9205ba65048d8f8b1f9e54a6d60
Jan 24, 2025
Merged

Update http-concat to upstream b5c28eea97aca9205ba65048d8f8b1f9e54a6d60#6108
rinatkhaziev merged 2 commits intodevelopfrom
update/http-concat-b5c28eea97aca9205ba65048d8f8b1f9e54a6d60

Conversation

@rinatkhaziev
Copy link
Copy Markdown
Contributor

@rinatkhaziev rinatkhaziev commented Jan 22, 2025

Description

Pull in the latest changes:

Automattic/nginx-http-concat#80
Automattic/nginx-http-concat#78

Changelog Description

Fixed

  • CSS/JS Concatenation now correctly handles urlencoded values

Changed

  • CSS/JS Concatenation automatically breaks assets into smaller groups when reaching a threshold of 150 items in the group rather than simply throwing a 400 Bad Request

Pre-review checklist

Please make sure the items below have been covered before requesting a review:

  • This change works and has been tested locally or in Codespaces (or has an appropriate fallback).
  • This change works and has been tested on a sandbox.
  • This change has relevant unit tests (if applicable).
  • This change uses a rollout method to ease with deployment (if applicable - especially for large scale actions that require writes).
  • This change has relevant documentation additions / updates (if applicable).
  • I've created a changelog description that aligns with the provided examples.

Pre-deploy checklist

  • VIP staff: Ensure any alerts added/updated conform to internal standards (see internal documentation).

Steps to Test

  1. Check out the PR locally and change the value, verify that in dev-env groups are being split correctly and there are no 400 responses from /_static/ when rendering a page in the browser.
  2. Grab any /_static/ url, urlencode the query part, paste back in the browser and make sure CSS or JS renders and there's no 400 response.

@sonarqubecloud
Copy link
Copy Markdown

@rinatkhaziev rinatkhaziev merged commit 636612c into develop Jan 24, 2025
@rinatkhaziev rinatkhaziev deleted the update/http-concat-b5c28eea97aca9205ba65048d8f8b1f9e54a6d60 branch January 24, 2025 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants