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

Navigation Block: Properly decode URL-encoded links #46435

Merged
Prev Previous commit
Next Next commit
fix: test
kozer committed Dec 9, 2022
commit 8256ad3354fa145636541ba15e88a2185aac3a5d
2 changes: 1 addition & 1 deletion phpunit/class-block-library-navigation-link-test.php
Original file line number Diff line number Diff line change
@@ -236,7 +236,7 @@ public function test_returns_link_for_decoded_link() {
array(),
$navigation_link_block
),
'https://example.com?data=lzB%2Fzd%2FZA%3D%3D'
'https://example.com/?data=lzB%2Fzd%2FZA%3D%3D'
) !== false
);
}