Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: symfony/http-foundation
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3690740
Choose a base ref
...
head repository: symfony/http-foundation
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6dc9893
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Dec 17, 2025

  1. [HttpFoundation][Cache] Fix VARBINARY columns on sqlsrv

    | Q             | A
    | ------------- | ---
    | Branch?       | 6.4
    | Bug fix?      | yes
    | New feature?  | no
    | Deprecations? | no
    | Issues        | Fix #62241
    | License       | MIT
    
    PdoSessionHandler was failing against SQL Azure when writing session data to a
    VARBINARY(MAX) column because the pdo_sqlsrv driver sent the data as nvarchar,
    which SQL Server cannot implicitly convert to varbinary(max).
    
    This patch makes the sqlsrv driver use a stream resource for session data (like
    the existing oci handling), both for INSERT/UPDATE statements and the MERGE
    upsert path. This ensures the data is treated as binary and avoids the implicit
    conversion error, while keeping the existing schema (VARBINARY(MAX)) unchanged.
    
    A new test (testSqlsrvDataBindingUsesStream) verifies that, for sqlsrv, the
    session data is bound as a PDO::PARAM_LOB resource when using the MERGE path.
    nicolas-grekas committed Dec 17, 2025
    Configuration menu
    Copy the full SHA
    a35ee6f View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2025

  1. Merge branch '6.4' into 7.3

    * 6.4:
      Fix negative delays with AMQP messenger transport
      [TwigBundle] Align TemplateIterator handling of @! original bundle templates with TwigExtension
      [AssetMapper] Batch concurrent requests to prevent flooding jsdelivr
      [HttpFoundation][Cache] Fix VARBINARY columns on sqlsrv
      [Cache] Fix calling the callback wrapper for ChainAdapter
      [Process] Fix dealing with broken stdin pipes
    nicolas-grekas committed Dec 19, 2025
    Configuration menu
    Copy the full SHA
    6dc9893 View commit details
    Browse the repository at this point in the history
Loading