Skip to content

Commit 3867c50

Browse files
authored
Merge pull request #66 from boesing/docs/keep-a-changelog
Introduce keep-a-changelog
2 parents 5c7ea47 + 1e789a0 commit 3867c50

File tree

1 file changed

+30
-3
lines changed

1 file changed

+30
-3
lines changed

CHANGELOG.md

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,39 @@
1-
# Change Log
1+
# Changelog
22

3-
## Added
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [1.3.0] - TBD
9+
10+
## [1.2.0] - 2022-12-01
11+
12+
### Added
413

514
- Adds `UriIntegrationTest::testGetPathNormalizesMultipleLeadingSlashesToSingleSlashToPreventXSS()`, `UriIntegrationTest::testStringRepresentationWithMultipleSlashes(array $test)`, and `RequestIntegrationTest::testGetRequestTargetInOriginFormNormalizesUriWithMultipleLeadingSlashesInPath()`.
615
These validate that a path containing multiple leading slashes is (a) represented with a single slash when calling `UriInterface::getPath()`, and (b) represented without changes when calling `UriInterface::__toString()`, including when calling `RequestInterface::getRequestTarget()` (which returns the path without the URI authority by default, to comply with origin-form).
716
This is done to validate mitigations for [CVE-2015-3257](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-3257).
817

9-
## Changed
18+
### Changed
1019

1120
- Modifies `UriIntegrationTest::testPathWithMultipleSlashes()` to only validate multiple slashes in the middle of a path.
1221
Multiple leading slashes are covered with the newly introduced tests.
22+
23+
24+
## [1.1.1] - 2021-02-20
25+
26+
### Changed
27+
28+
- Replace deprecated assertRegExp() with assertMatchesRegularExpression()
29+
30+
## [1.1.0] - 2020-10-17
31+
32+
### Added
33+
34+
- Support for PHP8 and PHPUnit 8 and 9
35+
36+
## [1.0.0] - 2019-12-16
37+
38+
### Added
39+
- Compatible with PHP5

0 commit comments

Comments
 (0)