Opened 5 weeks ago
Closed 5 weeks ago
#65416 closed defect (bug) (reported-upstream)
Linking text containing a colon breaks the URL
| Reported by: | proleads | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Editor | Version: | |
| Severity: | normal | Keywords: | has-screenshots |
| Cc: | Focuses: |
Description
When creating a link where the linked text itself contains a colon (:), WordPress incorrectly interprets the text after the colon as part of the URL.
Steps to reproduce:
1.Create or edit a post/page.
2.Add a hyperlink.
3.Use linked text containing a colon, for example:
Example: text
4.Insert a normal HTTPS URL.
Expected behavior:
The linked text should remain unchanged, while the URL should only contain the actual hyperlink target.
Actual behavior:
WordPress incorrectly includes the text after the colon in the generated link, resulting in malformed URLs.
Attachments (2)
Change History (7)
This ticket was mentioned in Slack in #core by abdullahramzan. View the logs.
5 weeks ago
#5
@
5 weeks ago
- Component Post Formats → Editor
- Focuses javascript coding-standards php-compatibility removed
- Keywords needs-patch needs-testing removed
- Milestone Awaiting Review
- Resolution → reported-upstream
- Status new → closed
- Version 7.0
Thanks for moving the report!
https://github.com/WordPress/gutenberg/issues/78978
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This needs to be created under the Gutenberg GitHub Repository