Changeset 3211282
- Timestamp:
- 12/20/2024 10:00:10 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pcrecruiter-extensions/trunk/PCRecruiter-Extensions.php
r3211275 r3211282 38 38 $loadurl = $a['link']; 39 39 $loadurl = sanitize_loadurl($loadurl); 40 $loadurl = htmlspecialchars_decode($loadurl, ENT_QUOTES); // Decode HTML entities, including & 41 40 42 $initialheight = intval($a['initialheight']); 41 43 $background = preg_match('/^#[a-fA-F0-9]{3,6}$|^transparent$/', $a['background']) ? $a['background'] : 'transparent'; … … 76 78 $iframe = $doc->createElement('iframe'); 77 79 $iframe->setAttribute('frameborder', '0'); 78 $iframe->setAttribute('host', $loadurl);80 $iframe->setAttribute('host', esc_url($loadurl)); 79 81 $iframe->setAttribute('id', 'pcrframe'); 80 82 $iframe->setAttribute('name', 'pcrframe');
Note: See TracChangeset
for help on using the changeset viewer.