Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump zendframework/zend-http from 2.5.5 to 2.8.1 #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jun 7, 2024

Bumps zendframework/zend-http from 2.5.5 to 2.8.1.

Release notes

Sourced from zendframework/zend-http's releases.

zend-http 2.8.1

Added

  • Nothing.

Changed

  • This release modifies how Zend\Http\PhpEnvironment\Request marshals the request URI. In prior releases, we would attempt to inspect the X-Rewrite-Url and X-Original-Url headers, using their values, if present. These headers are issued by the ISAPI_Rewrite module for IIS (developed by HeliconTech). However, we have no way of guaranteeing that the module is what issued the headers, making it an unreliable source for discovering the URI. As such, we have removed this feature in this release of zend-http.

    If you are developing a zend-mvc application, you can mimic the functionality by adding a bootstrap listener like the following:

    public function onBootstrap(MvcEvent $mvcEvent)
    {
        $request = $mvcEvent->getRequest();
        $requestUri = null;
    $httpXRewriteUrl = $request->getHeader('X-Rewrite-Url');
    if ($httpXRewriteUrl) {
        $requestUri = $httpXRewriteUrl->getFieldValue();
    }
    $httpXOriginalUrl = $request->getHeader('X-Original-Url');
    if ($httpXOriginalUrl) {
    $requestUri = $httpXOriginalUrl->getFieldValue();
    }
    if ($requestUri) {
    $request->setUri($requestUri)
    }
    
    }

    If you use a listener such as the above, make sure you also instruct your web server to strip any incoming headers of the same name so that you can guarantee they are issued by the ISAPI_Rewrite module.

Deprecated

  • Nothing.

... (truncated)

Changelog

Sourced from zendframework/zend-http's changelog.

2.8.1 - 2018-08-01

Added

  • Nothing.

Changed

  • This release modifies how Zend\Http\PhpEnvironment\Request marshals the request URI. In prior releases, we would attempt to inspect the X-Rewrite-Url and X-Original-Url headers, using their values, if present. These headers are issued by the ISAPI_Rewrite module for IIS (developed by HeliconTech). However, we have no way of guaranteeing that the module is what issued the headers, making it an unreliable source for discovering the URI. As such, we have removed this feature in this release of zend-http.

    If you are developing a zend-mvc application, you can mimic the functionality by adding a bootstrap listener like the following:

    public function onBootstrap(MvcEvent $mvcEvent)
    {
        $request = $mvcEvent->getRequest();
        $requestUri = null;
    $httpXRewriteUrl = $request->getHeader('X-Rewrite-Url');
    if ($httpXRewriteUrl) {
        $requestUri = $httpXRewriteUrl->getFieldValue();
    }
    $httpXOriginalUrl = $request->getHeader('X-Original-Url');
    if ($httpXOriginalUrl) {
    $requestUri = $httpXOriginalUrl->getFieldValue();
    }
    if ($requestUri) {
    $request->setUri($requestUri)
    }
    
    }

    If you use a listener such as the above, make sure you also instruct your web server to strip any incoming headers of the same name so that you can guarantee they are issued by the ISAPI_Rewrite module.

Deprecated

  • Nothing.

Removed

... (truncated)

Commits
  • 4419716 Merge branch 'security/zf2018-01'
  • 5234f4a Remove support for the X-Original-Url and X-Rewrite-Url headers
  • 9812b6e Bumped version
  • e108820 Bumped to next dev version (2.8.1)
  • f48b276 2.8.0 readiness
  • 52c2135 Promote 2.7.1 to 2.8.0
  • 2315213 Updated branch aliases
  • 146f1ba Merge branch 'hotfix/140-ensure-last-header-added-by-name-is-returned'
  • c341ed4 Adds CHANGELOG entry for #140
  • 4434d7d Ensure that adding a header overwrites when not a multi-value header
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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.

Bumps [zendframework/zend-http](https://github.com/zendframework/zend-http) from 2.5.5 to 2.8.1.
- [Release notes](https://github.com/zendframework/zend-http/releases)
- [Changelog](https://github.com/zendframework/zend-http/blob/master/CHANGELOG.md)
- [Commits](zendframework/zend-http@release-2.5.5...release-2.8.1)

---
updated-dependencies:
- dependency-name: zendframework/zend-http
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants