From b4b5752b925027bc10eff0fb84715992c3c42a39 Mon Sep 17 00:00:00 2001 From: Scott Kingsley Clark Date: Fri, 13 Sep 2024 15:14:25 -0500 Subject: [PATCH] More fixes for slug sanitization --- ui/js/jquery.pods.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/js/jquery.pods.js b/ui/js/jquery.pods.js index 71968456b4..b889d11d05 100644 --- a/ui/js/jquery.pods.js +++ b/ui/js/jquery.pods.js @@ -566,9 +566,9 @@ if ( $slug.length ) { $slug.on( 'change', function () { // Strip HTML/code. - var slug = $( this ).val().replace( /<(?:.)*?>/g, '' ), + var slug = $( this ).val().replace( /<(?:.)*?>/g, '' ).replace( /['"]/g, '' ).replace( /