Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

[Security] Bump zendframework/zend-diactoros from 1.7.1 to 1.8.5 #23

Conversation

dependabot-preview[bot]
Copy link

Bumps zendframework/zend-diactoros from 1.7.1 to 1.8.5. This update includes security fixes.

Vulnerabilities fixed

Sourced from The PHP Security Advisories Database.

URL Rewrite vulnerability

Affected versions: >=1.0.0, <1.8.4

Release notes

Sourced from zendframework/zend-diactoros's releases.

zend-diactoros 1.8.5

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #324 fixes a reference
    to an undefined variable in the ServerRequestFactory, which made it
    impossible to fetch a specific header by name.

zend-diactoros 1.8.4

Added

  • Nothing.

Changed

  • This release modifies how ServerRequestFactory 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 Diactoros.

    If you are developing a middleware application, you can mimic the
    functionality via middleware as follows:

    use Psr\Http\Message\ResponseInterface;
    use Psr\Http\Message\ServerRequestInterface;
    use Psr\Http\Server\RequestHandlerInterface;
    use Zend\Diactoros\Uri;
    
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
... (truncated)
Changelog

Sourced from zendframework/zend-diactoros's changelog.

1.8.5 - 2018-08-10

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #324 fixes a reference
    to an undefined variable in the ServerRequestFactory, which made it
    impossible to fetch a specific header by name.

1.8.4 - 2018-08-01

Added

  • Nothing.

Changed

  • This release modifies how ServerRequestFactory 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 Diactoros.

    If you are developing a middleware application, you can mimic the
    functionality via middleware as follows:

    use Psr\Http\Message\ResponseInterface;
    use Psr\Http\Message\ServerRequestInterface;
    use Psr\Http\Server\RequestHandlerInterface;
    use Zend\Diactoros\Uri;
    
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
... (truncated)
Commits
  • 3e4edb8 Added v1.8.5 release notes
  • a264630 Merge branch 'fix/#324-correct-reference-to-undefined-variable-in-server-requ...
  • 11489fe add testcase
  • 4a7bb6f Fix typo
  • e24b20a Bumped version
  • bfcacdb Bumped to next dev version (1.8.5)
  • 736ffa7 Merge branch 'security/zf2018-01'
  • 3a4f44f Remove support for the X-Original-Url and X-Rewrite-Url headers
  • ed59d8a Bumped version
  • d44f8dd Bumped to next dev version (1.8.4)
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview
Copy link
Author

Superseded by #30.

@dependabot-preview dependabot-preview bot deleted the dependabot/composer/zendframework/zend-diactoros-1.8.5 branch October 1, 2018 07:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant