This website requires JavaScript.
Explore
Help
Register
Sign In
ZaneYork
/
zoneminder
Watch
1
Star
0
Fork
You've already forked zoneminder
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
dcd67a1acf
zoneminder
/
web
/
skins
/
classic
/
views
/
js
/
frame.js.php
4 lines
93 B
PHP
Raw
Normal View
History
Unescape
Escape
frame.php: Fix multiple XSS from 'show' and 'scale' parameters and enforce CSP. Fixes #2448, fixes #2449, and fixes #2447.
2019-02-10 07:10:42 +08:00
var
scale
=
'<?php echo validJsStr($scale); ?>'
;
add a scale element to the frame view. Include some bits from StorageAreas to make it work
2016-10-27 01:34:28 +08:00
var
SCALE_BASE
=
<
?
php
echo
SCALE_BASE
?>
;