Skip to content

Commit

Permalink
Fix code scanning alert no. 4: Incomplete string escaping or encoding
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
alex-w and github-advanced-security[bot] authored Sep 28, 2024
1 parent 3915b13 commit e3e4de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/RemoteControl/webroot/js/jquery-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -17942,7 +17942,7 @@ $.widget( "ui.tabs", {
},

_sanitizeSelector: function( hash ) {
return hash ? hash.replace( /[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g, "\\$&" ) : "";
return hash ? hash.replace( /[\\!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g, "\\$&" ) : "";
},

refresh: function() {
Expand Down

0 comments on commit e3e4de2

Please sign in to comment.