C#/.NET MVC2016.01.19 10:55

public ContentResult GetIframeHeight()

{

string height = Request.Form["height"] == null ? "1000" : Request.Form["height"].ToString();

     return Content("<script>alert('sdfsdfdsf');</script>");

}


결과

<html>

<head>

<script>alert('sdfsdfdsf');</script>

</head>

<body></body>

</html>


Posted by jangjeonghun

티스토리 툴바