Skip to content

Commit

Permalink
de347e9e471ea16dcea3305dee403f4540d2a9cc Dev: Backslash characters fo…
Browse files Browse the repository at this point in the history
…r codeql

Sync to source repo @de347e9e471ea16dcea3305dee403f4540d2a9cc
  • Loading branch information
dtbuild committed Apr 23, 2024
1 parent 5a004b4 commit f90227a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion datatables.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
],
"src-repo": "http://github.com/DataTables/DataTablesSrc",
"last-tag": "2.0.5",
"last-sync": "2bb77b438ce00d7ae36de9cd119bf19993b54c95"
"last-sync": "de347e9e471ea16dcea3305dee403f4540d2a9cc"
}
2 changes: 1 addition & 1 deletion js/dataTables.js
Original file line number Diff line number Diff line change
Expand Up @@ -7972,7 +7972,7 @@
// already escaped characters, by escaping them, and then
// re-escaping. Not ideal, but Safari only added negative
// look behind in 2023 (16.4).
return id.replace(/\:/g, ':').replace(/:/g, '\\:');
return id.replace(/\\\\:/g, ':').replace(/:/g, '\\:');
}) )
.every( function () {
_fnCallbackFire( api.settings()[0], null, 'requestChild', [ this ] )
Expand Down
2 changes: 1 addition & 1 deletion js/dataTables.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dataTables.min.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/dataTables.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7919,7 +7919,7 @@ var __details_state_load = function (api, state)
// already escaped characters, by escaping them, and then
// re-escaping. Not ideal, but Safari only added negative
// look behind in 2023 (16.4).
return id.replace(/\:/g, ':').replace(/:/g, '\\:');
return id.replace(/\\\\:/g, ':').replace(/:/g, '\\:');
}) )
.every( function () {
_fnCallbackFire( api.settings()[0], null, 'requestChild', [ this ] )
Expand Down

0 comments on commit f90227a

Please sign in to comment.