mirror of
https://github.com/c0de-archive/GAMA-Site.git
synced 2025-07-30 12:50:17 +00:00
Fixed XSS exploit - thanks to @Doridian for pointing it out :)
This commit is contained in:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user