-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Pasting a link with & will is changed to & which can breaks link #4858
Comments
Hi @meghanking So:
TBH: I cannot find a bug here, since the converted link is still the same valid URL. So please explain why this could be a bug and what is broken? |
Thank you for the questions above. Happy to correct and clarify.
You are correct the example URL above (the google search link) still navigates to the same experience with no issue. However, my understanding is that this is not the case for all URLs. Specifically, the URL for our scenario, the website where we host CKEditor, does not recognize the URL after "a m p ;" is added as the same experience, causing them to navigate to an error scenario. |
Can you provide the not working link? |
I have provided examples of not working link within email thread to sla@cksource.com I am hoping to understand if this is an issue with CKEditor 4 autolink with plans to fix, or if this is an issue with those websites not handling & within their URLs as expected. |
Hi @meghanking |
Closed in #4910 |
Type of report
Bug
Provide detailed reproduction steps (if any)
Expected result
What is the expected result of the above steps?
Recognized as a link with no changes to URL
Actual result
URL changes to the following, where "&" is replaced with "& a m p ;" (but with no spaces, but preview of this text not rendering as expected)
https://www.google.com/search?q=ckeditor+4+demo&sxsrf=AOaemvIOMlAFDqLmu7CedntFOZM__buC4Q%3A1629916057505&source=hp&ei=mYsmYYbvG5H70AST5RQ&iflsig=ALs-wAMAAAAAYSaZqel7dIi7ht5uNwnupRKhKbR7VdtE&oq=ckeditor+4+demo&gs_lcp=Cgdnd3Mtd2l6EAMyBAgjECcyBQgAEIAEMgYIABAWEB4yBggAEBYQHjIGCAAQFhAeMgYIABAWEB46BwgjEOoCECc6BQgAEJECOgQIABBDOg4ILhCABBCxAxDHARCjAjoRCC4QgAQQsQMQgwEQxwEQ0QM6CwguEIAEELEDEIMBOgoIABCxAxCDARBDOggIABCABBCxAzoLCC4QgAQQxwEQowI6CAgAELEDEIMBOgsIABCABBCxAxCDAToICC4QsQMQgwE6CAguEIAEELEDOgsIABCABBCxAxDJAzoFCAAQkgM6BwguELEDEEM6DgguEIAEELEDEIMBEJMCOgUILhCABDoFCC4QsQM6DgguEIAEELEDEMcBEK8BOgoIABCABBCHAhAUOgsILhCABBDHARDRAzoHCAAQsQMQQ1CFFVirOWDYOmgCcAB4AIABe4gB9hCSAQQxNi44mAEAoAEBsAEK&sclient=gws-wiz&ved=0ahUKEwjGn_m85szyAhWRPZQKHZMyBQAQ4dUDCAo&uact=5
What is the actual result of the above steps?
Other details
The above change to the URL does allow for it to be navigated to, but this is not the case for our customer scenario. In our case the URL will navigate to error page because the amp; being added is unexpected
EDIT
I have managed to reproduce this problem. When you copy actual link from the HTML page e.g.
https://www.google.com/search?q=google&client=firefox-b-d
then it is pasted correctly -> You will have&
in wysiwyg and&
in source mode.If however you will paste the same link but you will copy it from e.g. Notepad, you will get
&
in wysiwyg and&
in source mode which in my opinion can break the link (the actual non-working link can be found in support issue no. 70206).The text was updated successfully, but these errors were encountered: