-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Explicitly close div element #31820
Explicitly close div element #31820
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
The scope is larger than this fix, I updated the description. |
This comment was marked as resolved.
This comment was marked as resolved.
Here are all if my search was good enough: click to expand
|
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. |
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.
lgtm
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
/backport to stable23 |
1 similar comment
/backport to stable23 |
^ 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. |
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>
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