mirror of
https://github.com/c0de-archive/GAMA-Site.git
synced 2024-11-01 02:27:46 +00:00
Fixed XSS exploit - thanks to @Doridian for pointing it out :)
This commit is contained in:
parent
9b3d135fcd
commit
f6d566da85
@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
$img = $_GET["img"];
|
$img = $_GET["img"];
|
||||||
|
strip_tags($img);
|
||||||
|
$img = strip_tags($img);
|
||||||
?>
|
?>
|
||||||
<html prefix="og: http://ogp.me/ns#">
|
<html prefix="og: http://ogp.me/ns#">
|
||||||
<head>
|
<head>
|
||||||
@ -70,4 +72,4 @@ echo "<tr><td><div align='center'><a href='./'><b><---- Back to Index</b></a><tr
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<br></div>
|
<br></div>
|
||||||
</body></html>
|
</body></html>
|
||||||
|
Loading…
Reference in New Issue
Block a user