Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix joinPaths root edge case #1620

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

brandonpayton
Copy link
Member

@brandonpayton brandonpayton commented Jul 18, 2024

Motivation for the change, related issues

Prior to this PR, joinPaths( '/', '/' ) === '//'. This PR fixes that bug so joinPaths( '/', '/' ) === '/'.

Testing Instructions (or ideally a Blueprint)

CI: Unit and e2e tests

@brandonpayton brandonpayton added [Type] Bug An existing feature does not function as intended [Package][@php-wasm] Util labels Jul 18, 2024
@brandonpayton brandonpayton requested a review from a team July 18, 2024 02:05
@brandonpayton brandonpayton self-assigned this Jul 18, 2024
@brandonpayton
Copy link
Member Author

The e2e test is failing consistently for PHP 7.1 but appears to be unrelated to this minor JS fix. We've had this failure since earlier today with 3a58502.

I'll go ahead and merge this.

@brandonpayton brandonpayton merged commit 22ae110 into trunk Jul 18, 2024
4 of 5 checks passed
@brandonpayton brandonpayton deleted the fix-joinPaths-when-concatenating-root branch July 18, 2024 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package][@php-wasm] Util [Type] Bug An existing feature does not function as intended
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant