-
Notifications
You must be signed in to change notification settings - Fork 57
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
EZEE-3030: Links containing 'ezlocation` or 'ezcontent' keywords break RTE validation on paste #1283
Conversation
…k RTE validation on paste
457f533
to
73f992b
Compare
src/bundle/Resources/public/js/scripts/fieldType/base/base-rich-text.js
Outdated
Show resolved
Hide resolved
src/bundle/Resources/public/js/scripts/fieldType/base/base-rich-text.js
Outdated
Show resolved
Hide resolved
…h-text.js Co-Authored-By: Dariusz Szut <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA Approved on eZ Platform EE v2.5.9 (patch) and on eZ Platform EE 2.5 with diff.
You can merge it up. |
Done. |
@konradoboza Doesn't these links also use scheme format, i.e. |
@andrerom all the occurrences of |
OK, then we should be fine, I was just unsure if this keyword matching might have still some uncovered cases or url types. |
Hello all, we are using the latest 1.5.x tag of this project. Unfortunately the merge-commit from this pull request is not available there, but only in the branch itself. Would it be possible to release a new 1.5 tag with the latest changes of the appropriate branch, to be able to receive the bugfix from this pull request? Thanks for your effort and help! |
Hi @maikfr. The For now, you can apply the following diff to take advantage of this fix:
|
The recently introduced solution #1245 is missing proper checks for
ezcontent
and zezlocation
keywords that results inhttp
protocol wrongly added, hence broken validation. Added proper conditions and flatten existing ones to increase readability. I will create a PR inezplatform-richtext
for 3.0 once this solution is approved.Checklist:
$ composer fix-cs
)