mirror of
https://github.com/c0de-archive/GAMA-Site.git
synced 2024-12-23 01:52:41 +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>
|
||||||
|
Loading…
Reference in New Issue
Block a user