Add changelog for PR #1516 concerning CaptureAll

This commit is contained in:
Guy Gastineau 2022-01-25 16:37:21 -05:00
parent 2e5fe27f8c
commit ca86b4965f
No known key found for this signature in database
GPG Key ID: BC92DE181D2AF254

14
changelog.d/CaptureAll Normal file
View File

@ -0,0 +1,14 @@
synopsis: Bugfix - CaptureAll produces [""] for empty paths due to trailing slash.
prs: #1516
issues: #1243
description: {
CaptureAll resulted in `[""]` for empty paths due to trailing slash. Similar
oddities occurred around these edge cases like `"/"` resulted in `[]` correctly,
but `"//"` resulted in `["", ""]`. This patch simply eliminates the first `""`
in the pathinfo list as taken from the wai response. This might break user
code that relies on personal shims to solve the problem, however simply removing their
workarounds should fix their code as the behavior is now sane.
}