Conversation
CarlSchwan
approved these changes
Apr 4, 2022
szaimen
approved these changes
Apr 4, 2022
This comment was marked as resolved.
This comment was marked as resolved.
Contributor
Author
The scope is larger than this fix, I updated the description. |
This comment was marked as resolved.
This comment was marked as resolved.
Contributor
|
Here are all if my search was good enough: click to expand |
Contributor
Author
|
After looking into it, it seems like the initial case was the only problematic one. However, I preemptively changed other cases to ensure that future changes won't lead to new issues. |
Fix: #30002 Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
d799998 to
4763a12
Compare
Merged
Contributor
Author
|
/backport to stable23 |
1 similar comment
Contributor
Author
|
/backport to stable23 |
Contributor
Author
|
^ Backport requests to unlock jQuery version bump in both versions as they contain CVEs (CVE-2020-11022, CVE-2020-11023, CVE-2019-5428, CVE-2019-11358) |
|
The backport to stable23 failed. Please do this backport manually. |
|
The backport to stable23 failed. Please do this backport manually. |
This was referenced May 16, 2022
artonge
added a commit
to nextcloud/richdocuments
that referenced
this pull request
Jun 20, 2022
Since the upgrade to jQuery v3.6, HTML tags need to be explicitely closed. cf: nextcloud/server#31820 Signed-off-by: Louis Chemineau <louis@chmn.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix: #30002
This is actually a global issue from upgrading to jQuery v3.3.5
The HTML prefilter has changed, and self-closing tags are not supported anymore.
A solution to prevent hidden issue would be to set
jQuery.migrateEnablePatches( "self-closed-tags" );@skjnldsv an opinion? No idea if self-closing tags are widespread in our code base.
https://jquery.com/upgrade-guide/3.5/#jquery-htmlprefilter-changes