-
Notifications
You must be signed in to change notification settings - Fork 2k
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: Percentage Character (%) in Links Are Improperly Encoded #69839
Comments
📌 SCRUBBING : RESULT
📌 FINDINGS/SCREENSHOTS/VIDEO
📌 ACTIONS
|
Hi @cuemarie! Can you please check your test site again: https://mqthree.wpcomstaging.com/ When you inspect the link in the Navigation block, the percentage characters inside the anchor tag (not the link text) are in fact being converted to When you click on the link, you will see that it isn't working and displays this error:
If formatted correctly, the original link will load a form: In case of questions, feel free to DM me in Slack. Thanks! |
📌 SCRUBBING : RESULT
📌 ACTIONS
|
FYI - Build will pick this one up. Closing in favor of WordPress/gutenberg#46159 |
This should be fixed when Gutenberg 15.0 is released WordPress/gutenberg#46435 |
Quick summary
User is trying to add this menu link to the navigation block:
https://api.payaconnect.com/hostedpaymentpage?id=11eacdb9c9fc0d2c989d2057&data=U2FsdGVkX18xMWVhY2RiOa8xisZ0ulzB%2FzlaRnFN0dWAM1rLyZL%2BQpUc9oo2fp616ICqcykrs%2BjPzDfEPLd%2FZA%3D%3D
However, after adding it, something is converting the percentage character
%
to%25
, causing the link to go somewhere else and fail:https://api.payaconnect.com/hostedpaymentpage?id=11eacdb9c9fc0d2c989d2057&data=U2FsdGVkX18xMWVhY2RiOa8xisZ0ulzB%252FzlaRnFN0dWAM1rLyZL%252BQpUc9oo2fp616ICqcykrs%252BjPzDfEPLd%252FZA%253D%253D
Steps to reproduce
What you expected to happen
For the link to remain the same and load the page correctly.
What actually happened
The percentage characters (%) are encoded, causing the link to load incorrectly. This does not occur in regular links within paragraph or list blocks.
Context
No response
Platform (Simple, Atomic, or both?)
Simple, Atomic
Theme-specific issue?
No response
Browser, operating system and other notes
No response
Reproducibility
Consistent
Severity
One
Available workarounds?
Yes, easy to implement
Workaround details
Using a URL shortening service (ie bit.ly) to shorten the link and adding this link to the menu works as a workaround.
The text was updated successfully, but these errors were encountered: