From ca86b4965f76e4dbaa9185c55e7c3e768f28ae4d Mon Sep 17 00:00:00 2001 From: Guy Gastineau Date: Tue, 25 Jan 2022 16:37:21 -0500 Subject: [PATCH] Add changelog for PR #1516 concerning CaptureAll --- changelog.d/CaptureAll | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 changelog.d/CaptureAll diff --git a/changelog.d/CaptureAll b/changelog.d/CaptureAll new file mode 100644 index 00000000..5e0126a6 --- /dev/null +++ b/changelog.d/CaptureAll @@ -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. + +} \ No newline at end of file