Skip to content

Commit

Permalink
Add changelog for PR #1516 concerning CaptureAll
Browse files Browse the repository at this point in the history
  • Loading branch information
guygastineau committed Feb 23, 2022
1 parent 2e5fe27 commit ca86b49
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions changelog.d/CaptureAll
Original file line number Diff line number Diff line change
@@ -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.

}

0 comments on commit ca86b49

Please sign in to comment.